Test containers for redpanda #2122
Replies: 9 comments 31 replies
-
Nice! Happy to help, and also here are a few things that would help simplifying the implementation:
|
Beta Was this translation helpful? Give feedback.
-
hey @senior7515 just curious. is there any update on this? |
Beta Was this translation helpful? Give feedback.
-
An example working implementation that I have been using to build my own https://github.com/quarkusio/quarkus/blob/48f0d28fbf978f54ce757e3836a7731259ec26c0/extensions/kafka-client/deployment/src/main/java/io/quarkus/kafka/client/deployment/DevServicesKafkaProcessor.java#L342 |
Beta Was this translation helpful? Give feedback.
-
This is tracked in #4671, which we will get to in 1 to 2 mo (currently estimated) |
Beta Was this translation helpful? Give feedback.
-
I've put in place very simple take on redpanda testcontainers, its something along this line https://gist.github.com/milenkovicm/09786b8dd70722e71e19e678bca555d3 It is just great way of testing kafka application as you dont have to bring zk container. Two major problems I faced while implementing (and they can be due to my limited experience with redpanda)
It would be great if somebody can point me in the direction what would be the easiest way of changing advertised port without restarting rp. |
Beta Was this translation helpful? Give feedback.
-
@jcsp - now that we have centralized configuration, I think that we can let test-containers drive redpanda, rather than have test-containers discover redpanda. as in, test containers can simply tell redpanda the IP/port reconfiguration rather than for redpanda to listen wdyt ? |
Beta Was this translation helpful? Give feedback.
-
with your help, red panda rust testcontainer https://github.com/milenkovicm/testcontainers-redpanda-rs |
Beta Was this translation helpful? Give feedback.
-
@senior7515 @twmb should we use https://gist.github.com/bsideup/21762b4089a244e6fbfcfc606e7f0394, for testing repanda via testcontainers? |
Beta Was this translation helpful? Give feedback.
-
Created PR: #5628 for the --dev flag in redpanda start.
Cc: @bsideup |
Beta Was this translation helpful? Give feedback.
-
Adding some notes here from @bsideup
https://gist.github.com/bsideup/21762b4089a244e6fbfcfc606e7f0394
Beta Was this translation helpful? Give feedback.
All reactions