-
Notifications
You must be signed in to change notification settings - Fork 1
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
refactor: make consumer the only public interface for live event listener #91
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #91 +/- ##
============================================
+ Coverage 75.25% 75.40% +0.14%
Complexity 238 238
============================================
Files 43 44 +1
Lines 1063 1061 -2
Branches 88 88
============================================
Hits 800 800
+ Misses 228 226 -2
Partials 35 35
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
import org.apache.kafka.common.PartitionInfo; | ||
import org.apache.kafka.common.TopicPartition; | ||
|
||
public class KafkaMockConsumerTestUtil<K, V> { |
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.
Test utils can go in testFixtures so that production classes do not depend on them. Please refer to the following for a sample test fixture and its usage. https://github.com/Traceableai/activity-event-service/tree/main/policy-store-service-impl/src/testFixtures
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.
Thanks, didn't know about them. Updated to use testFixtures
No description provided.