-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Address issue #1699 (config option to deserialize proto message keys) #1729
Conversation
deserialized using a protobuf schema if the config is set. Otherwise message keys are treated as strings. Closes provectus#1699
@jdechicchis thanks for the contribution! |
kafka-ui-api/src/main/java/com/provectus/kafka/ui/serde/ProtobufFileRecordSerDe.java
Show resolved
Hide resolved
Hi @jdechicchis! In addition to them -> we should also edit
|
@iliax Thank you for the review. I was wondering what to do about |
@jdechicchis Thank you for highlighting it, I actually forgot |
@iliax Thanks for the clarification, updated based on the feedback. By the way, the "Documentation / build-and-test (pull_request)" check is failing with the error:
even though I didn't add that URL. What's the best way to resolve it? |
That build fail is not your fault. Just ignore it for now.
… On 30 Mar 2022, at 00:23, Joseph DeChicchis ***@***.***> wrote:
@iliax Thanks for the clarification, updated based on the feedback.
By the way, the "Documentation / build-and-test (pull_request)" check is failing with the error:
Done. The following urls did not pass:
https://dev-a63ggcut.auth0.com/
even though I didn't add that URL. What's the best way to resolve it?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were assigned.
|
kafka-ui-api/src/main/java/com/provectus/kafka/ui/serde/ProtobufFileRecordSerDe.java
Outdated
Show resolved
Hide resolved
kafka-ui-api/src/main/java/com/provectus/kafka/ui/serde/ProtobufFileRecordSerDe.java
Outdated
Show resolved
Hide resolved
kafka-ui-api/src/main/java/com/provectus/kafka/ui/serde/ProtobufFileRecordSerDe.java
Show resolved
Hide resolved
kafka-ui-api/src/main/java/com/provectus/kafka/ui/serde/ProtobufFileRecordSerDe.java
Outdated
Show resolved
Hide resolved
Hi @jdechicchis ! |
@iliax Fixed log levels and added the |
…us#1729) * Add protobufMessageNameForKeyByTopic option to config. Message keys are deserialized using a protobuf schema if the config is set. Otherwise message keys are treated as strings. Closes provectus#1699 * Add documentation around kafkaui's protobuf support * Add protobufMessageNameForKey config option * Update README with info about default types * Imeplement support for protobufMessageNameForKeyByTopic * fallback to FALLBACK_FORMATTER * Add ability to publish message with protobuf key * Change log levels to debug and add @nullable annotations * Attempt at fixing documentation workflow Co-authored-by: Ilya Kuramshin <ilia-2k@rambler.ru> Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com> Co-authored-by: Roman Zabaluev <github@haarolean.dev>
Closes #1699
What changes did you make? (Give an overview)
Add protobufMessageNameForKeyByTopic option to config. Message keys are deserialized using a protobuf schema if the config is set. Otherwise message keys are treated as strings.
Is there anything you'd like reviewers to focus on?
Name of configuration and unit tests as well as style.
How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)
Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)
Check out Contributing and Code of Conduct
A picture of a cute animal (not mandatory but encouraged)