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

Updated MartenEventPublisher to publish events with metadata. #112

Merged
merged 1 commit into from
Mar 8, 2022

Conversation

oskardudycz
Copy link
Owner

Thanks to that, Kafka Producer can also include it, and KafkaConsumer can get them and republish, maintaining CorrelationId and generating new CausationId.

Removed usages of IEvent. The marker interface is no longer needed as the MediatR event bus is not used in samples.

Note: It seems that KafkaProducer is having a hard time locally locking itself while publishing events. I will tackle this issue in a follow-up PR.

…to that, Kafka Producer can also include it and KafkaConsumer can get them and republish maintaining CorrelationId and generating new CausationId

Removed usage of IEvent. The marker interface is not needed anymore as MediatR event bus is not used anymore in samples
@oskardudycz oskardudycz merged commit 68afb98 into main Mar 8, 2022
@oskardudycz oskardudycz deleted the kafka_publishing_with_correlation_id branch March 8, 2022 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant