Skip to content

refactor: cleanup producer code #161

@vmarchese

Description

@vmarchese
  • no need to different config flags (mongoConfig, redisConfig...). Use just --config`
  • naming should be consistent to avoid redundancy since it is already namescoped
    • e.g. change gcs.GCSProducer in gcs.Producer
  • move Producer interface in the producer package for consistency and isolation
  • define a factory for producer instead of different createXXX methods
  • change emitter.Emitter.Initialize sequence of if using factory with a producer factory map
    • e.g. producerFactory["mongodb"].createProducer()

Metadata

Metadata

Assignees

Labels

To be evaluatedStill not clear if needs to be doneenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions