Skip to content

Listener concurrency attribute is inconsistent #820

Closed
@onobc

Description

@onobc

The concurrency attribute for the non-reactive listener should be specified on the PulsarContainerProperties rather than the ConcurrentPulsarMessageListenerContainerFactory.

The ConcurrentPulsarListenerContainerFactory#initializeContainer method can simply ask the PulsarContainerProperties for the concurrency rather than store it.

Motivation

  • consistency w/ Reactive counterpart
  • consistency w/ other container properties
  • simplify SpringBoot property mapping (example)

Metadata

Metadata

Assignees

Labels

type: improvementAn improvement of implementation of existing feature

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions