mmacphail commented on issue #2085:
URL: https://github.com/apache/camel-k/issues/2085#issuecomment-903909663


   Yes, see following file:
   
   ```
   def bootstrap = 'my-cluster-kafka-bootstrap.kafka:9092'
   def topic = 'sensor'
   def groupId = 'test-camel-k'
   def keyDeserializer = 
'org.apache.kafka.common.serialization.StringDeserializer'
   def valueDeserializer = 
'io.confluent.kafka.serializers.KafkaAvroDeserializer'
   def schemaRegistryURL = 'http://schema-registry-service.kafka:8081'
   
   def kafka = 
"kafka:${topic}?brokers=${bootstrap}&groupId=${groupId}&autoOffsetReset=earliest&keyDeserializer=${keyDeserializer}&valueDeserializer=${valueDeserializer}&schemaRegistryURL=${schemaRegistryURL}"
   
   from(kafka)
     .to('log:info')
   ```


-- 
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