testcontainers-go icon indicating copy to clipboard operation
testcontainers-go copied to clipboard

[Docs] Add kafka container example

Open franklinlindemberg opened this issue 4 years ago • 2 comments

I was wondering if it would be possible to have some defined container images (similar to what we have for java testcontainers https://www.testcontainers.org/modules/kafka/).

I ported the kafka container to golang (https://github.com/franklinlindemberg/go-samples/blob/master/samples/testcontainer/kafkacluster.go) and if you think it makes sense, I could add it to this project so more people could reuse it.

What do you think?

franklinlindemberg avatar Sep 20 '20 16:09 franklinlindemberg

some answers in https://medium.com/trendyol-tech/kafka-test-containers-with-golang-b85e4b2469db for anyone coming across this issue

alexeagle avatar Jun 10 '21 20:06 alexeagle

https://medium.com/trendyol-tech/kafka-test-containers-with-golang-b85e4b2469db is not completed and I have run it but failed.

Hope add a kafka example in this project.

smallnest avatar Jan 18 '22 08:01 smallnest

@franklinlindemberg we would like to start the discussion on module (formerly called canned) containers: https://github.com/testcontainers/testcontainers-go/discussions/509 (we converted the issue into a Discussion).

Would you be willing to participate in there? If so, can we close this issue and continue in the discussion thread? Thanks!

mdelapenya avatar Sep 15 '22 16:09 mdelapenya

@mdelapenya thanks for inviting me to the discussion, I'll be happy to contribute.

I'll close this one

franklinlindemberg avatar Sep 16 '22 13:09 franklinlindemberg