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

Get public repo up-to-date with latest improvements #20

Merged
merged 67 commits into from
Sep 20, 2023
Merged

Conversation

douggish
Copy link
Contributor

No description provided.

douggish and others added 30 commits September 18, 2023 15:42
Disposing the consumer is not sufficient for cleanly disconnecting the consumer.

From https://docs.confluent.io/clients-confluent-kafka-dotnet/current/overview.html#the-consume-loop:

Note that disposing the consumer instance after you are finished using it (achieved with the using block in the above example) will ensure that active sockets are closed and internal state is cleaned up. In order to leave the group cleanly - i.e. commit final offsets and trigger a group rebalance which ensures that any partitions owned by the consumer are re-assigned to other members in the group in a timely fashion - you additionally need to call the Close method prior to disposing.
There is an issue with the latest cp-kafka docker image version 7.0.1 which prevents it from starting (see confluentinc/kafka-images#127). Pinning kafka and zookeeper images a version 7.0.0 for now.
We want to stop consumption and processing activities when the service host is shutting down.
Referencing Microsoft.Extensions.Hosting.Abstractions to get the IHostedService definition instead of Microsoft.AspNetCore. Eventuate Tram shouldn't need anything "web" specific
Rename Backpressure properties to be clearer
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@bzylstra bzylstra left a comment

Choose a reason for hiding this comment

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

Some questions and minor considers.

@douggish douggish merged commit ecd86a8 into master Sep 20, 2023
1 check passed
@douggish douggish deleted the Improvements branch September 20, 2023 21:13
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