How to implement camel kafka producer and consumer which is using kafka brokers and user name and password but not ssl certs.
my kafka broker configurations look like this
{
"kafka_brokers_sasl":
"kafka04-orgName.services.orgsj001.us-west.bluemix.net:9093",
"kafka02-orgName.services.orgsj001.us-west.bluemix.net:9093",
"kafka01-orgName.services.orgsj001.us-west.bluemix.net:9093",
"kafka03-orgName.services.orgsj001.us-west.bluemix.net:9093"
,
"user": "**********",
"password": "********"
}
In order to connect to Message Hub you need at least Apache Camel 2.20.
Then add the following query parameters to your URI:
For example, for a producer:
and a consumer: