Open
Description
Issue submitter TODO list
- I've searched for an already existing issues here
- I'm running a supported version of the application which is listed here and the feature is not present there
Is your proposal related to a problem?
Within my Kafka, a Topic Name changes from Stage to Stage. However, all of them must be translated with a protobuf. But since I don't know the exact Kafka Topic name, I can't map it exactly to a protobuf using protobufMessageNameByTopic
.
Describe the feature you're interested in
If you knew a part of the topic, you could use it to assign the topic to a protobuf. There might be several topics containing this one part, but in that case you would simply assign all topics to the protobuf. You could do this using a prefix, suffix or both. Example config:
Topic name: 1. topic_test_one, 2. topic_test_two
Prefix: protobufMessageNameByTopic.*_test_one: topic_proto (Only 1. deserialized)
Suffix: protobufMessageNameByTopic.topic_test_*: topic_proto (Both deserialized)
Both: protobufMessageNameByTopic.*_test_*: topic_proto (Both deserialized)
Describe alternatives you've considered
Found out that AKHQ does something like this using a "regex". Maybe this would be a better option than my "solution":
https://akhq.io/docs/configuration/protobuf.html
(But kafka-ui is better :) )
Version you're running
Additional context
No response