Skip to content

Configurable chunking/batching in PulsarTemplate #80

@onobc

Description

@onobc

Batching configuration

Batching is enabled by default in Pulsar. This can be configured globally by setting spring.pulsar.producer.batching-enabled. We should provide a simple mechanism to enable/disable/configure batching on a per-send-operation basis.

Chunking configuration

Chunking is disabled by default in Pulsar. This can be configured globally by setting spring.pulsar.producer.chunking-enabled. We should provide a simple mechanism to enable/disable/configure chunking on a per-send-operation basis.

NOTE: When chunking is enabled batch must be disabled. However, we will delegate to underlying Pulsar producer validation handling this. It does an extensive job of client validation.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions