-
-
Notifications
You must be signed in to change notification settings - Fork 223
Description
Issue submitter TODO list
- I've looked up my issue in FAQ
- I've searched for an already existing issues here
- I've tried running
main-labeled docker image and the issue still persists there - I'm running a supported version of the application which is listed here
Describe the bug (actual behavior)
Provided sample Glue Serde https://github.com/kafbat/ui-serde-glue/tree/main
does not load and prevent UI from starting with exception below
Caused by: java.lang.ClassCastException: class io.kafbat.ui.serde.glue.GlueSerde cannot be cast to class io.kafbat.ui.serde.api.Serde (io.kafbat.ui.serde.glue.GlueSerde is in unnamed module of loader io.kafbat.ui.serdes.CustomSerdeLoader$ChildFirstClassloader @59496961; io.kafbat.ui.serde.api.Serde is in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader @179d3b25) at io.kafbat.ui.serdes.CustomSerdeLoader.loadAndConfigure(CustomSerdeLoader.java:46) at io.kafbat.ui.serdes.SerdesInitializer.loadAndInitCustomSerde(SerdesInitializer.java:265) at io.kafbat.ui.serdes.SerdesInitializer.createSerdeFromConfig(SerdesInitializer.java:186) at io.kafbat.ui.serdes.SerdesInitializer.init(SerdesInitializer.java:105)
Expected behavior
Custom Serde is loaded and Kafka UI starts
Your installation details
v1.0.0
Steps to reproduce
- compile Glue Serde from https://github.com/kafbat/ui-serde-glue/tree/main (with depencies)
- copy jar in installation path
- modify application.yml to include this custom serializer
- name: GlueSerde(dev) className: io.kafbat.ui.serde.glue.GlueSerde filePath: /opt/kafka-ui/glue-serde/kafkaui-glue-serde.jar
Screenshots
No response
Logs
No response
Additional context
No response