-
Notifications
You must be signed in to change notification settings - Fork 157
refactor: Poll Context object for API #223
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
Conversation
b7b631c
to
7e26075
Compare
426c69b
to
149a810
Compare
149a810
to
50211f8
Compare
a3f0705
to
6186f83
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.
todos
parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/PollContext.java
Outdated
Show resolved
Hide resolved
parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/RecordContext.java
Show resolved
Hide resolved
parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/PollContext.java
Show resolved
Hide resolved
...el-consumer-core/src/main/java/io/confluent/parallelconsumer/ParallelEoSStreamProcessor.java
Outdated
Show resolved
Hide resolved
parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/ParallelStreamProcessor.java
Outdated
Show resolved
Hide resolved
...l-consumer-reactor/src/main/java/io/confluent/parallelconsumer/reactor/ReactorProcessor.java
Outdated
Show resolved
Hide resolved
...l-consumer-reactor/src/main/java/io/confluent/parallelconsumer/reactor/ReactorProcessor.java
Outdated
Show resolved
Hide resolved
...vertx/src/main/java/io/confluent/parallelconsumer/vertx/VertxParallelEoSStreamProcessor.java
Outdated
Show resolved
Hide resolved
parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/PollContext.java
Outdated
Show resolved
Hide resolved
parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/PollContext.java
Outdated
Show resolved
Hide resolved
022a6ee
to
a940cfd
Compare
f85e1bd
to
ea0a705
Compare
Provides an organised view per TopicPartition and includes failure counts for records. step: BROKEN step: save core save step: COMPILES step: review
ea0a705
to
e929438
Compare
Thanks for the review @nioertel ! |
…heritance from internal package
84c26d4
to
5c77f6d
Compare
@Value(staticConstructor = "of") | ||
@Getter(AccessLevel.NONE) | ||
//@Setter(AccessLevel.NONE) | ||
public class PollContext<K, V> implements Iterable<RecordContext<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.
Better name than PollContext?
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.
not so far, but can change before the release...
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.
PR feature complete |
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.
lgtm
- Provides an organised view per TopicPartition and includes failure counts for records - Unify batch and non-batch, record failure history - Migrate to threeten's MutableClock
public interface JStreamParallelStreamProcessor<K, V> extends DrainingCloseable { | ||
|
||
static <KK, VV> JStreamParallelStreamProcessor<KK, VV> createJStreamEosStreamProcessor(ParallelConsumerOptions options) { | ||
static JStreamParallelStreamProcessor createJStreamEosStreamProcessor(ParallelConsumerOptions<?, ?> options) { |
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.
Why generic is removed in the factory method?
Provides:
This will be a minor breaking change