kafka-ui icon indicating copy to clipboard operation
kafka-ui copied to clipboard

Infra: Ship a serde-enriched docker image alongside with the main one

Open Haarolean opened this issue 1 year ago • 0 comments

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:

  1. 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 main branch releases, or just the major releases
  1. AWS AMI Image:
  • do the same as for the release workflow

Haarolean avatar Feb 20 '24 07:02 Haarolean