lfabriko commented on issue #4186:
URL: https://github.com/apache/camel-k/issues/4186#issuecomment-1488816404

   I think you can check `brokers` parameter if you have installed kafka (e.g. 
`my-kafka-cluster`) via 
   ```
   $ oc get kafka/my-kafka-cluster -o 
jsonpath="{.status.listeners[0].bootstrapServers}"
   my-kafka-cluster-kafka-bootstrap.lfabriko3.svc:9092
   ```
   
   Then I have in `KafkaProducer` (similarly in `KafkaConsumer`):
   
`.to("kafka:myRecords?brokers=my-kafka-cluster-kafka-bootstrap.lfabriko3.svc:9092");`
 (or shortly 
`.to("kafka:myRecords?brokers=my-kafka-cluster-kafka-bootstrap:9092");`)
   
   (I suppose `myRecords` is the created kafka topic)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to