Uploaded image for project: 'Red Hat build of Apache Camel for Spring Boot'
  1. Red Hat build of Apache Camel for Spring Boot
  2. CSB-7513

[Doc] Lack of explanation about camel-kafka component batchingIntervalMs option

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • CSB-4.14
    • CSB-4.10.3 Patch 1
    • Documentation
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Very Likely
    • 0

      Lack of explanation about camel-kaka component batchingIntervalMs option.

      https://docs.redhat.com/en/documentation/red_hat_build_of_apache_camel/4.10/html/red_hat_build_of_apache_camel_for_spring_boot_reference/csb-camel-kafka-component-starter#component_options_45

      This option is new from camel 4.10.

      https://issues.apache.org/jira/browse/CAMEL-21691

      https://github.com/apache/camel/pull/17029

      Upstream doc:

      https://camel.apache.org/components/4.10.x/kafka-component.html

      In consumer batching mode, then this option is specifying a time in millis, to trigger batch completion eager when the current batch size has not reached the maximum size defined by maxPollRecords. Notice the trigger is not exact at the given interval, as this can only happen between kafka polls (see pollTimeoutMs option). So for example setting this to 10000, then the trigger happens in the interval 10000 pollTimeoutMs. The default value for pollTimeoutMs is 5000, so this would mean a trigger interval at about every 15 seconds. 

              nshendye@redhat.com Nilam Shendye
              rhn-support-hfuruich Hisao Furuichi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: