[
https://issues.apache.org/jira/browse/CAMEL-17367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Rosenberg updated CAMEL-17367:
-------------------------------------
Affects Version/s: 3.14.0
> Kafka endpoint DSL for producer doesn't strip //
> ------------------------------------------------
>
> Key: CAMEL-17367
> URL: https://issues.apache.org/jira/browse/CAMEL-17367
> Project: Camel
> Issue Type: Bug
> Components: camel-endpointdsl
> Affects Versions: 3.12.0, 3.14.0
> Reporter: Andrew Rosenberg
> Priority: Minor
>
> I'm trying something like this
> {{.toD(}}
> {{ kafka("my-topic")}}
> {{ .brokers("\{{kafka.brokers}}")}}
> {{
> .partitioner(org.apache.kafka.clients.producer.RoundRobinPartitioner.class.getName())}}
> {{ .valueSerializer(ByteArraySerializer.class.getName()))}}
> and I get this error
> {{Metadata response reported invalid topics [//my-topic]}}
> This is because {{parseTopicName}} in KafkaSendDynamicAware is unaware of the
> {{//}} in the uri.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)