Make protobuf file serde better support environment variable configs #538
Labels
area/serde
Serialization & Deserialization (plugins)
good first issue
Up for grabs
hacktoberfest
Issues good for hacktoberfest goal
scope/backend
Related to backend changes
status/triage/completed
Automatic triage completed
type/bug
Something isn't working
type/enhancement
En enhancement/improvement to an already existing feature
Issue submitter TODO list
main
-labeled docker image and the issue still persists thereDescribe the bug (actual behavior)
When using environment variables to configure kafka-ui. There is a case sensitivity issue with how the topic/proto key value pairs are generated. I know that this is not the preferred way for configuring the service, but it is the most accessible way to configure when using Kubernetes.
Using an example from the documentation
becomes
In this case the topics both lose their casing. Within the code, it seems that there are no case sensitivity checks that occur so the topics included will never have access to the protos that should be assigned.
Writing
Reading
Expected behavior
Either the configuration structure needs to be slightly modified to support storing the case sensitive topics.
Or adjust the pattern checks to ignore casing.
Your installation details
Kubernetes. Not completely applicable
Steps to reproduce
Configure protofile serdes via env variables with lowercase topic names. See that the protofiles are not accessible to the topic.
Screenshots
No response
Logs
No response
Additional context
If this seems like a reasonable fix, I am willing to make the adjustments in the preferred manner.
The text was updated successfully, but these errors were encountered: