Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-1837

PutKafka - Decouple incoming message delimiter from outgoing batching

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.6.1
    • 1.0.0, 0.7.0, 1.0.0-Beta
    • None

    Description

      In 0.6.x batching outgoing messages to Kafka is only supported if a message delimiter is provided for incoming flow files. This appears to be a recently added constraint. It did not exist in 0.4.x. Could you please remove this.

      PutKafka.java:453
      Remove the "if" statement and just have:
      properties.setProperty("batch.size", context.getProperty(BATCH_NUM_MESSAGES).getValue());

      Attachments

        1. NIFI-1837.diff
          1 kB
          Ralph Perko

        Activity

          People

            ozhurakousky Oleg Zhurakousky
            rperko3 Ralph Perko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: