-
Notifications
You must be signed in to change notification settings - Fork 177
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
topic-manager improvements #297
Conversation
c241acc
to
09b1e04
Compare
fixed flaky tests by not resetting mockconsumergroup on close (not reused anyway) small fix to append to slices in GroupGraph
09b1e04
to
efeaf69
Compare
19af87f
to
b8d08be
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Think this looks good.
e61db62
to
16f5055
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Hi @frairon, To fix the issue, we now downgraded to an older version but wanted to ask if we could have this configurable? |
@vladlepbeat Here is an example: goka/examples/1-simplest/main.go Lines 115 to 118 in 0085fa7
|
Hi @jomaresch |
Nice. |
@vladlepbeat the thing with automatic topic creation was, that it was actually a bug in goka. We used the wrong API call so to say, which made clusters configured with auto-create create the topics also for tables. Then we ended up with table topics configured as streams (no compaction), which completely messes up the state in the views. |
This PR fixes two main issues:
auto.create.topics.enable=true
, the topic would be auto-created with default-configuration. This messes up table-creation because those topics would not be log-compacted which is required by goka. The new version does not trigger auto-creation when checking for a topic.The topic manager does not attempt to modify misconfigured topics, as this could be dangerous for intentional configuration changes via other kafka tools outside of goka.