vendredi 18 septembre 2020

How to Consume Kafka Topic from ZeroCode Framework

I want to consume one kafka topic via ZeroCode framework. I can consume my localhost kafka server from ZeroCode scenario. Also I can consume the topic that is got from my actual remote kafka server with using kafka-consumer.bat via command line but I can not consume same topic from ZeroCode.

What Do I need to add special configuration?

{ 
  "name": "Consume Message From doob-ship-topic",
  "url": "kafka-topic:my-sample-topic",
  "operation": "consume",
  "request": {
    "consumerLocalConfigs": {
      "recordType": "JSON",
      "commitSync": false,
      "showRecordsConsumed": true,
      "maxNoOfRetryPollsOrTimeouts": 3
    }
  },
  "assertions": {
    "size": 1,
    "records": [
      {
        "value": {
          "key": "99930000000000260001"
        }
      }
    ]
  }
}

I tried different configurations but I didn't handle with that.

Aucun commentaire:

Enregistrer un commentaire