Packages, consumer#48
Conversation
Codecov ReportBase: 93.10% // Head: 93.10% // No change to project coverage 👍
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more Additional details and impacted files@@ Coverage Diff @@
## master #48 +/- ##
=========================================
Coverage 93.10% 93.10%
Complexity 12 12
=========================================
Files 6 6
Lines 29 29
=========================================
Hits 27 27
Misses 2 2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
| */ | ||
| public interface Consumer<X> { | ||
|
|
||
| void consume(int partition, Data<X> message); |
There was a problem hiding this comment.
@l3r8yJ , I believe that this method should return some data. But which type of the data? Maybe for now we can go with simple puzzle
There was a problem hiding this comment.
I have some ideas: we can return Dataized and then turn it in the real data fetched by the consumer
There was a problem hiding this comment.
I mean turning object into some data
| public interface Consumer<X> { | ||
|
|
||
| void consume(int partition, Data<X> message); | ||
| Dataized<?> consume(int partition, Data<X> message); |
|
@h1alexbel take a look, please. There is update |
|
@l3r8yJ thanks for contribution ! |
@h1alexbel take a look, please
here are some changes for packages and I tried to create a
Consumerinterface. I'm not sure aboutConsumer, what do you think?