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] [Commented] (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:comment-tabpanel&focusedCommentId=17463591#comment-17463591 ] 

Claus Ibsen commented on CAMEL-17367:
-------------------------------------

Try with Camel 3.14.0 first before reporting

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