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

camel-kafka - ssl.endpoint.identification.algorithm should be allowed to be an empty string

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.17.0
    • 3.18.0
    • camel-kafka
    • None
    • Novice

    Description

      This property was changed from being defaulted if null to being defaulted if null or empty in the 3.17 release. Currently the only way to disable server host name verification is to pass the Kafka consumer an empty string which is impossible after that change.

       

      Relevant Code: https://github.com/apache/camel/blob/main/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaConfiguration.java#L436

      Relevant Docs: https://docs.confluent.io/platform/current/kafka/authentication_ssl.html#optional-settings

       

      Solution is just to revert addPropertyIfNotEmpty to be addPropertyIfNotNull for this property.

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              jbmehring Jake Mehring
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: