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: retention values should use GetLongValue #144

Merged
merged 2 commits into from
Feb 16, 2024

Conversation

Gadam8
Copy link
Contributor

@Gadam8 Gadam8 commented Feb 16, 2024

About the PR

retention.ms was recently converted to long, however, I noticed in my project that a long value was being processed as null. It seems there was an integer method leftover on the KafkaChannelBinding class. This PR fixes this issue for all retention values.

Changelog

  • Add: Long value for testing retention.ms in the Kafka bindings test
  • Replace: Replaced GetIntegerValue with GetLongValue for all long retention values in the KafkaChannelBinding

@Gadam8 Gadam8 requested a review from VisualBean as a code owner February 16, 2024 09:46
@Gadam8 Gadam8 changed the title Fix retention.ms long value fix: retention.ms should use GetLongValue Feb 16, 2024
@Gadam8 Gadam8 changed the title fix: retention.ms should use GetLongValue fix: retention values should use GetLongValue Feb 16, 2024
@gokerakc
Copy link
Contributor

I've recently updated the properties for the topic configuration object but missed that part. Nice catch @Gadam8!

@VisualBean
Copy link
Contributor

sorry for not reviewing better 😅 totally on me.
Good fast catch, will deprecate 5.1 and make a quick release of 5.2

@VisualBean VisualBean merged commit 9546284 into LEGO:main Feb 16, 2024
9 checks passed
@Gadam8 Gadam8 deleted the fix-retention-ms branch February 16, 2024 10: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.

3 participants