Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-1898

MAX_BATCH_SIZE_CONF not working in Trident storm Spout

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0
    • Fix Version/s: None
    • Component/s: storm-kafka
    • Labels:
      None

      Description

      Ideally Trident process should process tuples in Batch.

      ex > https://github.com/apache/storm/blob/ab66003c18fe4f8c0926b3219408b735b2ce2adf/storm-core/src/jvm/org/apache/storm/trident/spout/RichSpoutBatchExecutor.java

      there is a parameter called MAX_BATCH_SIZE_CONF which limits the size of the batch.

      This parameter is not present in TridentKafkaEmitter.

      https://github.com/apache/storm/blob/1.x-branch/external/storm-kafka/src/jvm/org/apache/storm/kafka/trident/TridentKafkaEmitter.java

      ---------------
      Problem is that now everytime the topology restarts it just fetches all messages from Kafka.

      Could any one throw some idea on it, I certainly feel its a bug.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              supermonk Narendra Bidari
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: