Skip to content

fix: ensure mock SyncProducer's SendMessage returns msg.Partition instead of 0#3122

Merged
dnwe merged 2 commits intoIBM:mainfrom
magiusdarrigo:magius/patch-SyncProducer-SendMessage-mock
Mar 14, 2025
Merged

fix: ensure mock SyncProducer's SendMessage returns msg.Partition instead of 0#3122
dnwe merged 2 commits intoIBM:mainfrom
magiusdarrigo:magius/patch-SyncProducer-SendMessage-mock

Conversation

@magiusdarrigo
Copy link
Copy Markdown
Contributor

@magiusdarrigo magiusdarrigo commented Mar 10, 2025

No description provided.

@magiusdarrigo magiusdarrigo force-pushed the magius/patch-SyncProducer-SendMessage-mock branch from 5924a08 to 7f57c8e Compare March 10, 2025 23:30
@magiusdarrigo
Copy link
Copy Markdown
Contributor Author

Hi @dnwe can you take a look when get the time, thanks

Copy link
Copy Markdown
Collaborator

@puellanivis puellanivis left a comment

Choose a reason for hiding this comment

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

👍 looks good from me, and makes a lot of sense. (That is, this looks like a straight bug fix.)

@magiusdarrigo
Copy link
Copy Markdown
Contributor Author

Any timeline on when this fix can get merged @puellanivis

@puellanivis
Copy link
Copy Markdown
Collaborator

I am not actually one of the maintainers. My (Contributor) status comes from having a PR merged.

Copy link
Copy Markdown
Collaborator

@dnwe dnwe left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! This does just look like a mistake in the original mock that had gone undiscovered until now

@dnwe dnwe changed the title patch: Have mock SyncProducer's SendMessage return msg.Partition instead of 0 fix: ensure mock SyncProducer's SendMessage returns msg.Partition instead of 0 Mar 12, 2025
@dnwe dnwe added the fix label Mar 12, 2025
@dnwe dnwe merged commit 54480cc into IBM:main Mar 14, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants