Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export processors as functions instead of values #265

Merged
merged 2 commits into from
Apr 20, 2020

Conversation

mdurling
Copy link

I noticed this in the k8s logs for both mds-event-processor and mds-telemetry-processor pods. Each container should only be referencing one processor. This was due to the stream processors being initialized on export. Changed processors to export a factory function that can be used to initialize them instead.

│ INFO "Creating KafkaStreamSink" "mds.event.annotated" {"clientId":"mds-event-processor"}                             │
│ INFO "Creating KafkaStreamSource" "mds.event" {"groupId":"mds-event-processor"}                                      │                                                                         │
│ INFO "Creating KafkaStreamSink" "mds.telemetry.annotated" {"clientId":"mds-telemetry-processor"}                     │
│ INFO "Creating KafkaStreamSource" "mds.telemetry" {"groupId":"mds-telemetry-processor"}

@mdurling mdurling merged commit 36f3441 into develop Apr 20, 2020
@mdurling mdurling deleted the feature/michael/fix-processor-startup branch April 20, 2020 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants