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

Add pubsub support for kafka #315

Merged
merged 23 commits into from Apr 28, 2020
Merged

Add pubsub support for kafka #315

merged 23 commits into from Apr 28, 2020

Conversation

khous
Copy link
Contributor

@khous khous commented Apr 22, 2020

Description

Add kafka binding for pubsub

Issue reference

#8

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
    I have an e2e test which runs just the pubsub functions against kafka. Need to figure out the best way to integrate this. The current e2e tests don't appear to support testing multiple pubsub components, but I might be mistaken.
  • Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

@msftclas
Copy link

msftclas commented Apr 22, 2020

CLA assistant check
All CLA requirements met.

pubsub/kafka/kafka.go Outdated Show resolved Hide resolved
pubsub/kafka/kafka.go Outdated Show resolved Hide resolved
pubsub/kafka/kafka.go Outdated Show resolved Hide resolved
pubsub/kafka/kafka.go Outdated Show resolved Hide resolved
pubsub/kafka/kafka.go Outdated Show resolved Hide resolved
@yaron2
Copy link
Member

yaron2 commented Apr 27, 2020

Change looks good, @khous.

Have you tested this in any way?

@khous
Copy link
Contributor Author

khous commented Apr 27, 2020

Change looks good, @khous.

Have you tested this in any way?

Yes I have. Here's the integration test I'm relying on
There wasn't a great pattern that I could see to integrate this with the current testing setup.

I also used one of the sample projects to manually test the functionality. I swapped out redis in the 4.pub-sub sample

Copy link
Member

@yaron2 yaron2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yaron2 yaron2 merged commit 0c4cade into dapr:master Apr 28, 2020
@yaron2
Copy link
Member

yaron2 commented Apr 28, 2020

Please finish off by updating the docs here:

https://github.com/dapr/docs/tree/master/howto/setup-pub-sub-message-broker

@khous khous deleted the issue_8 branch April 28, 2020 16:01
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.

None yet

5 participants