kafka-ui
kafka-ui copied to clipboard
Infra: Ship a serde-enriched docker image alongside with the main one
We have a bunch of serdes developed by us and publicly available (SMILE, glue) which are released independently. Currently to run kafka-ui with them enabled you have to:
- download release jars of all the serdes you require
- volume bind them all (https://github.com/kafbat/ui-serde-glue/blob/main/docker-compose/setup-example.yaml#L45)
- configure them (e.g. env properties)
It would be beneficial to ship a fat docker image alongside the main one with all the serdes included to save the user efforts for the first two steps of the aforementioned process.
Our sedes available at the time: https://github.com/kafbat/ui-serde-glue https://github.com/kafbat/ui-serde-smile
TODO:
- Release workflow:
- Adjust the release workflow to build one more separate image
- Upon a release, download latest releases of our serdes
- Include (volume bind) downloaded serdes into the image
- ? Consider if we'd need a separate release for all the
mainbranch releases, or just the major releases
- AWS AMI Image:
- do the same as for the release workflow