Skip to content

Conversation

@sandeep-mst
Copy link
Contributor

Fixes #24288

Motivation

The Kinesis Sink currently always enables aggregation of records while producing to the kinesis data streams. This results in records being merged in the final output described awslabs/amazon-kinesis-producer#566. There are use cases like monitoring logs through streams UI and client applications expecting certain record type where this behaviour is not desirable.

Modifications

Added an enableAggregation option to KinesisSinkConfig and updated KinesisSink#open so that it reads this flag when constructing the Kinesis producer.

Verifying this change

  • Make sure that the change passes the CI checks.

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository:
cognitree#21

@github-actions github-actions bot added the doc-required Your PR changes impact docs and you will update later. label May 12, 2025
@sandeep-mst sandeep-mst requested a review from lhotari May 12, 2025 10:59
Copy link
Contributor

@dlg99 dlg99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@lhotari lhotari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dlg99 dlg99 merged commit 18438bb into apache:master May 14, 2025
53 checks passed
@lhotari lhotari added this to the 4.1.0 milestone May 14, 2025
sandeep-ctds pushed a commit to datastax/pulsar that referenced this pull request May 15, 2025
lhotari pushed a commit that referenced this pull request May 15, 2025
lhotari pushed a commit that referenced this pull request May 15, 2025
lhotari pushed a commit that referenced this pull request May 15, 2025
sandeep-ctds pushed a commit to datastax/pulsar that referenced this pull request May 16, 2025
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request May 16, 2025
sandeep-ctds pushed a commit to datastax/pulsar that referenced this pull request May 16, 2025
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request May 16, 2025
manas-ctds pushed a commit to datastax/pulsar that referenced this pull request May 28, 2025
…or Kinesis Producers (apache#24289)

(cherry picked from commit 18438bb)
(cherry picked from commit 57c4b9b)
nodece pushed a commit to ascentstream/pulsar that referenced this pull request May 28, 2025
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request Jun 2, 2025
…or Kinesis Producers (apache#24289)

(cherry picked from commit 18438bb)
(cherry picked from commit 57c4b9b)
KannarFr pushed a commit to CleverCloud/pulsar that referenced this pull request Sep 22, 2025
walkinggo pushed a commit to walkinggo/pulsar that referenced this pull request Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make Aggregation configurable for KinesisProducers used by KinesisSink

3 participants