-
Notifications
You must be signed in to change notification settings - Fork 21
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
Support Kafka #80
Support Kafka #80
Conversation
return err | ||
} | ||
cloudEventsSourceOptions = mqtt.NewSourceOptions(mqttOptions, e.Config.MessageBroker.ClientID, e.Config.MessageBroker.SourceID) | ||
} else if e.Config.MessageBroker.MessageBrokerType == work.ConfigTypeKafka { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of if/else , can this be an injectable implementation of an interface?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @markturansky I added a TODO to create a CloudEventsSourceOptionsBuilder to build the CloudEventsSourceOptions in sdk repo. Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
b79cf19
to
0c87419
Compare
Signed-off-by: clyang82 <[email protected]>
Signed-off-by: clyang82 <[email protected]>
Signed-off-by: clyang82 <[email protected]>
Signed-off-by: clyang82 <[email protected]>
Signed-off-by: clyang82 <[email protected]>
Support kafka as a new message broker for maestro.