[ 
https://issues.apache.org/jira/browse/CAMEL-21774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17929152#comment-17929152
 ] 

Claus Ibsen commented on CAMEL-21774:
-------------------------------------

You need to configure the component to not retry forever

camel.component.kafka.subscribeConsumerBackoffMaxAttempts = 3

> camel-kafka - Add topicMustExists option so consumer can fail if broker has 
> no topic
> ------------------------------------------------------------------------------------
>
>                 Key: CAMEL-21774
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21774
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-kafka
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.11.0
>
>
> You may connect to a kafka broker with a given topic name, and the broker is 
> configured to not auto-create. And the consumer will then fail to subscribe, 
> and keep looping.
> We should have option topicMustExist=true|false you can set so you can tell 
> Camel to fail if the topic does not exist.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to