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

kafka rejoin时,fetchMessages抛出警告修复方法讨论 #97

Open
devin515 opened this issue Nov 24, 2023 · 1 comment
Open

kafka rejoin时,fetchMessages抛出警告修复方法讨论 #97

devin515 opened this issue Nov 24, 2023 · 1 comment

Comments

@devin515
Copy link

devin515 commented Nov 24, 2023

image
  • 个人建议有两种解决方法。
    1、heartbeatTimerId为null时,不执行 fetchMessages 方法
image

2、joinGroup时指定默认的memberId:因为group.instance.id只要没有发生变化,没必要每次rejoin都重新生成member.id
image

  • 总结
    请问这两种方法,哪种更优?或者有没有其他解决方案
@devin515 devin515 changed the title kafka rejoin时告警修复方法讨论 kafka rejoin时,fetchMessages抛出警告修复方法讨论 Nov 24, 2023
@dygin
Copy link
Contributor

dygin commented Dec 8, 2023

这个没什么大问题的

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

No branches or pull requests

2 participants