obsidiandynamics / kafdrop

Kafka Web UI
Apache License 2.0
5.44k stars 833 forks source link

Wrong initial key format in "Search Message" gui #659

Closed beck2play closed 2 months ago

beck2play commented 2 months ago

The "Search Message" gui uses the defaultFormat as initial value for "Key format" instead of defaultKeyFormat.

Replacing defaultForm.setKeyFormat(defaultFormat) with defaultForm.setKeyFormat(defaultKeyFormat) in MessageController.java should fix it.

Note: I never contributed to public repository on github. I have not been able to push the fix on a new branch to open a pull requst. I am not sure if I made a mistake or if one needs to be granted specific rights. Help would be appreciated.

Bert-R commented 2 months ago

@beck2play Thanks for reporting and providing the fix! I've created a PR.