Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-16138

Allow KafkaClientFactory to be used without explicit broker URLs

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.8.0
    • Component/s: camel-kafka
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      CAMEL-16071 has added support for KafkaClientFactory (thanks to Javier Holguera). It allows plugging a different implementation of the Kafka Producer/Consumer, but the component still requires setting the "brokers" configuration property in the component/endpoint, otherwise an IllegalArgumentException is thrown.

       

      This prevents users and platforms to plug implementations of the Kafka Producers/Consumers with fully externalized configuration (e.g. in Camel-Quarkus we may be able in the near future to plug configuration injected into files via Kubernetes service-binding).

       

      I think the check on the presence of the "brokers" property should be moved into the default factory.

       

      cc: John Poth

        Attachments

          Activity

            People

            • Assignee:
              jpoth John Poth
              Reporter:
              nferraro Nicola Ferraro

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment