-
Notifications
You must be signed in to change notification settings - Fork 5
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
[0.24] KafkaChannel to init offsets before dispatcher (#886) #383
[0.24] KafkaChannel to init offsets before dispatcher (#886) #383
Conversation
…ions#886) * Init offsets in Kafka channel controller - first iteration * Do not check prober for subscription readiness * Better code style * Get rid of probing for checking subscription readiness * Get rid of unused deps * Ooops, fixed the tests * Pass context along the functions, which will be necessary later * Fix unit test * Move partition retrieval into a separate function, which is going to be used later * Check if offsets are initialized in the consumerFactory * IDE "extracts" method LOL * Make unit tests working * Move MockClusterAdmin into the common package and reuse it * Copy paste tests for CheckIfAllOffsetsInitialized * Unify tests for CheckIfAllOffsetsInitialized and InitOffsets * Separate tests for CheckIfAllOffsetsInitialized and InitOffsets * Do not block main reconciliation thread for offset checking * Remove last crumbs of probing * Change log level for offset init message * Move some consts to right place * Rename checkOffsets.. func to WaitForOffsets... * Rename consumerOffsetInitializer to ConsumerGroupOffsetsChecker * Do not handle deleted topics or partitions when checking the offsets * Copy the partitions array when retrieving partitions * Address comments * Separate client and clusteradminclient creation * Stash kafka client * Revert "Stash kafka client" This reverts commit 4d57547 * Do not do any offset initialization when subscription is already marked ready
/test 47-e2e-aws-ocp-47 That's not good 😢
|
/test all (just to see what the 4.8 run gives us than again) How about applying also https://github.com/knative-sandbox/eventing-kafka/pull/917/files in here? |
|
all green... again: /test all |
/test all all green. testing again. |
and now the 4.8 falls off ... /test 48-e2e-aws-ocp-48 For sure some sort of race/flake here, still |
Green... /test all |
Green...again Another round: |
/test 48-e2e-aws-ocp-48 Both have
|
…extensions#924) * Change poll loop Signed-off-by: Pierangelo Di Pilato <[email protected]> * Change poll loop and requeue channel on failure * Get rid of unused func * Fix unit tests Co-authored-by: Pierangelo Di Pilato <[email protected]>
green... /test 48-e2e-aws-ocp-48 |
1 similar comment
green... /test 48-e2e-aws-ocp-48 |
/test 47-e2e-aws-ocp-47 |
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
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aliok, matzew The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Cherry pick