You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/12/22 05:42:00 UTC

[jira] [Updated] (CAMEL-17367) Kafka endpoint DSL for producer doesn't strip //

     [ https://issues.apache.org/jira/browse/CAMEL-17367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-17367:
--------------------------------
    Priority: Minor  (was: Major)

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