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

camel-kafka additionalProperties not set

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not A Bug
    • Affects Version/s: 3.2.0
    • Fix Version/s: None
    • Component/s: camel-kafka
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Camel: 3.2.0
      SB: 2.2.6
      Java: 1.8

      For a kafka producer, it seems the additionalProperties method does not seem to take effect. Specifically, the goal is to set "transactional.id" and I thought additionalProperties is the way to do it.

      I have attached a log where the kafka properties shows "transactional.id = null" on startup. I assume it should be set on startup. Other values are set as expected.

      Test code here: https://github.com/gurpal2000/camelproblemdemo3

      You will need to have a sample broker running. I used a docker one.

      The documentation mentions prefixing the value with "additionalProperties" also. That does not work either.

        Attachments

        1. log.txt
          15 kB
          Gurpal2000

          Activity

            People

            • Assignee:
              omarsmak Omar Al-Safi
              Reporter:
              Gurpal2000 Gurpal2000
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: