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

Make KafkaEx.stream/3 use KafkaEx.Server #354

Merged
merged 1 commit into from Jun 20, 2019

Conversation

thulio
Copy link
Contributor

@thulio thulio commented Jun 18, 2019

Currently, KafkaEx.stream/3 makes direct GenServer.call/2 calls. This way, sync_timeout is not used and can lead to GenServer timeouts if Kafka server takes more than 5 seconds to reply

@sourcelevel-bot
Copy link

Hello, @thulio! This is your first Pull Request that will be reviewed by Ebert, an automatic Code Review service. It will leave comments on this diff with potential issues and style violations found in the code as you push new commits. You can also see all the issues found on this Pull Request on its review page. Please check our documentation for more information.

@thulio thulio changed the title Make KafkaEx.Stream use KafkaEx.Server Make KafkaEx.stream/3 use KafkaEx.Server Jun 18, 2019
Copy link
Member

@bjhaid bjhaid left a comment

Choose a reason for hiding this comment

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

Lgtm

Copy link
Member

@joshuawscott joshuawscott left a comment

Choose a reason for hiding this comment

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

Thanks!

@joshuawscott joshuawscott merged commit f85e67c into kafkaex:master Jun 20, 2019
@thulio thulio deleted the fix/stream-uses-server-call branch June 20, 2019 16:00
@joshuawscott joshuawscott mentioned this pull request Jul 14, 2020
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

3 participants