Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
eddumelendez authored Feb 8, 2024
1 parent 60dc71f commit 609859d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions redpanda/lib/testcontainers/redpanda.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ def schema_registry_address
def _startup_script
startup_script = StringIO.new
startup_script.print("#!/bin/sh\n")
startup_script.print("/usr/bin/rpk redpanda start --mode dev-container")
startup_script.print(" --kafka-addr PLAINTEXT://127.0.0.1:29092,OUTSIDE://127.0.0.1:9092")
startup_script.print("/usr/bin/rpk redpanda start --mode=dev-container --smp=1 --memory=1G")
startup_script.print(" --kafka-addr PLAINTEXT://0.0.0.0:29092,OUTSIDE://0.0.0.0:9092")
startup_script.print(" --advertise-kafka-addr PLAINTEXT://127.0.0.1:29092,OUTSIDE://#{host}:#{mapped_port(port)}")
startup_script
end
Expand Down

0 comments on commit 609859d

Please sign in to comment.