KAFKA-10326 Both serializer and deserializer should be able to see th…#9102
KAFKA-10326 Both serializer and deserializer should be able to see th…#9102guozhangwang merged 5 commits intoapache:trunkfrom
Conversation
|
|
abbccdda
left a comment
There was a problem hiding this comment.
Are there any serde use cases that require client id?
I observed this issue when we are removing custom client id config. It causes error as the metrics of our serde is encoded with client id. |
abbccdda
left a comment
There was a problem hiding this comment.
The change makes sense to me. Will also let @guozhangwang take a look. Btw, I don't think this is an improvement rather than a bug, as we don't have any guarantee to see client id in serdes before.
There was a problem hiding this comment.
I have updated the method name.
There is another reason. We do pass generated client id to metric reporter. It seems to me all plugins should see consistent props. |
|
This change makes sense to me, thanks @chia7712 One (very) minor thing is that, |
|
@guozhangwang thanks for reviews
Let me address it to make consistent configs for all plugins. |
|
|
There was a problem hiding this comment.
This seems beyond the scope of this PR. Why do we also need to let deserializer see whether given consumer instance is auto commit enabled?
There was a problem hiding this comment.
This flag is included by reason of this comment #9102 (comment)
I’m ok to revert it if it is overkill
There was a problem hiding this comment.
Sorry for the delay, I suggest we revert this part to properly scope this PR.
There was a problem hiding this comment.
@abbccdda thanks for suggestion. I have reverted it.
|
@guozhangwang @abbccdda More comments? |
|
@guozhangwang @abbccdda ping ~ |
|
I took a quick look and it lgtm. @abbccdda If your pass is good please feel free to merge. |
|
@abbccdda ping~ |
…e generated client id
This reverts commit 23313aa03e1e27c648d3c2786fb7bd0ea7df9fdf.
This reverts commit d6af4789a69ecd8c5c361351deab178a2b09e500.
|
rebase to trigger new QA |
e0343ba to
93cf884
Compare
|
I've merged it to trunk and marked fix version as 2.7, thanks a lot for your contribution @chia7712 ! |
https://issues.apache.org/jira/browse/KAFKA-10326
Committer Checklist (excluded from commit message)