Skip to content

OffsetManager should not expect topic as argument #87

@kevinwallimann

Description

@kevinwallimann

Description
Currently, the base class OffsetManager expects a topic as a constructor argument. This is too specific to the use case of the CheckpointOffsetManager which currently requires the kafka topic (will be resolved in #85 ). In fact, this component does not need to manage offsets, but may manage anything which concerns both DataStreamReader and DataStreamWriter.

Tasks

  • OffsetManager should not require topic as a constructor argument.
  • OffsetManager should be renamed to StreamManager
  • The method OffsetManager.configureOffsets should be renamed to configure
  • Update archetype
  • Update readmes

How to migrate

  • Components implementing OffsetManager need to import StreamManager, rename configureOffsets to configure and remove the constructor argument.
  • No configuration properties need to be changed.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions