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

fix: core - publisher confirmations - add support for confirmation of multiple messages #201

Merged
merged 2 commits into from
Mar 10, 2023

Conversation

mi-char
Copy link
Collaborator

@mi-char mi-char commented Mar 10, 2023

No description provided.

@mi-char mi-char requested a review from jendakol March 10, 2023 14:14
Copy link
Collaborator

@jendakol jendakol left a comment

Choose a reason for hiding this comment

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

Small bug present :)

@@ -62,6 +62,7 @@ class PublishConfirmsRabbitMQProducer[F[_], A: ProductConverter](name: String,
_ <- result match {
case Left(err) =>
val sendResult = if (sendAttempts > 1) {
logger.plainTrace(s"Republishing nacked message with sequenceNumber $sequenceNumber")
Copy link
Collaborator

Choose a reason for hiding this comment

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

I believe this returns F so you're missing >>.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

You are right. Fixed.

@jendakol jendakol merged commit d9d1435 into master Mar 10, 2023
@jendakol jendakol deleted the mc/multiple_publisher_confirmations branch March 10, 2023 15:04
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.

2 participants