camel kafka componet is not throwing exception when invalid topic name is provided

Solution Verified - Updated -

Issue

  • Camel kafka component when i provide invalid broker list(example having invalid port number .to("kafka:test01?brokers=localhost:7777") ) then exception is thrown so we can handle the scenario, but if I provide invalid topic (example having invalid topic name .to("kafka:test0122?brokers=localhost:9092") ) then no exception is thrown, kindly suggest how we can handle this scenario.

Environment

  • Red Hat JBoss Fuse
    • 6.3.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.