Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-15933

Dataformats configuration doesn't change the behavior

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Critical Critical
    • 2021-M2
    • None
    • Camel Kafka Connector
    • None
    • False
    • False
    • % %
    • Undefined

      Configuring the dataformat properties doesn't change the marshal behavior.
      As an example with following configuration:
      connector.class=org.apache.camel.kafkaconnector.http.CamelHttpSinkConnector
      {{ tasks.max=1}}
      {{ topics=cf7e42f5f38a43ceb51c2c481955e1cd}}
      {{ camel.dataformat.base64.lineLength=10}}
      {{ name=CamelHttpSinkConnector}}
      {{ camel.sink.marshal=base64}}
      {{ camel.sink.url=http://localhost:49282/body}}
      {{ value.converter=org.apache.kafka.connect.storage.StringConverter}}
      {{ key.converter=org.apache.kafka.connect.storage.StringConverter}}
      The resulting strings are still split 76 characters apart, same goes for lineSeparator and options in other dataformats such as maxDecompressedSize in tarfile

              acosenti Andrea Cosentino
              mmuzikar Martin Muzikar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: