Skip to content

Allow multiple customizers for each top-level component #432

@onobc

Description

@onobc

Once the PulsarProperties lives in Spring Boot, the set of properties it supports is highly reduced.

The ability to customize each top-level component exists, but not in a consistent manner. Ideally we should allow Spring Boot users to register 1..N customizers and have them applied in order to the component. Currently, most components accept a single customizer when constructed which is currently created by PulsarProperties.<component>.to<Component>Customizer.

  • PulsarAdministration should accept multiple customizers in its <init>.
  • DefaultPulsarProducerFactory should accept multiple customizers in its <init>.
  • DefaultConsumerFactory should accept multiple customizers in its <init>.
  • DefaultReaderFactory should accept multiple customizers in its <init>.
  • DefaultReactivePulsarSenderFactory should accept multiple customizers in its <init>.
  • DefaultReactivePulsarConsumerFactory should accept multiple customizers in its <init>.
  • DefaultReactivePulsarReaderFactory should accept multiple customizers in its <init>.

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