[
https://issues.apache.org/jira/browse/CAMEL-10585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15867433#comment-15867433
]
Claus Ibsen commented on CAMEL-10585:
-------------------------------------
Maybe we should also allow to configure the servers on the KafkaComponent
instead so its like JMS, eg you dont set the ActiveMQ url on the JMS endpoint
either.
Then its just
{code}
from("kafka:myTopic")
...
{code}
And you can setup the urls on the KafkaComponent
{code}
KafkaComponent kafka = ...
kafka.setServerName(...)
{code}
> the URL format should include the topic name like the ActiiveMQ & AMQP
> endpoints
> --------------------------------------------------------------------------------
>
> Key: CAMEL-10585
> URL: https://issues.apache.org/jira/browse/CAMEL-10585
> Project: Camel
> Issue Type: Improvement
> Components: camel-kafka
> Reporter: james strachan
> Fix For: 2.19.0
>
>
> it would be nice to be able to use a URL more like ActiveMQ when working with
> kafka. e.g.
> {code}
> kafka:serverName:port/topicName
> {code}
> also missing off the port if its not the default port (9092) would be nice too
> {code}
> kafka:serverName/topicName
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)