summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.run/kafka-sandbox.run.xml12
-rw-r--r--.settings.sh2
-rw-r--r--docker/docker-compose.yml (renamed from kafka-sandbox/docker-compose.yml)0
-rw-r--r--go.mod2
4 files changed, 15 insertions, 1 deletions
diff --git a/.run/kafka-sandbox.run.xml b/.run/kafka-sandbox.run.xml
new file mode 100644
index 0000000..506301e
--- /dev/null
+++ b/.run/kafka-sandbox.run.xml
@@ -0,0 +1,12 @@
+<component name="ProjectRunConfigurationManager">
+ <configuration default="false" name="kafka-sandbox" type="docker-deploy" factoryName="docker-compose.yml" server-name="Docker">
+ <deployment type="docker-compose.yml">
+ <settings>
+ <option name="composeProjectName" value="kafka-sandbox" />
+ <option name="envFilePath" value="" />
+ <option name="sourceFilePath" value="docker/docker-compose.yml" />
+ </settings>
+ </deployment>
+ <method v="2" />
+ </configuration>
+</component> \ No newline at end of file
diff --git a/.settings.sh b/.settings.sh
new file mode 100644
index 0000000..4021f54
--- /dev/null
+++ b/.settings.sh
@@ -0,0 +1,2 @@
+export COMPOSE_PROJECT_NAME=kafka-sandbox
+export COMPOSE_FILE=$(pwd)/docker/docker-compose.yml
diff --git a/kafka-sandbox/docker-compose.yml b/docker/docker-compose.yml
index 1f50f7f..1f50f7f 100644
--- a/kafka-sandbox/docker-compose.yml
+++ b/docker/docker-compose.yml
diff --git a/go.mod b/go.mod
index 975f1fd..f407cb9 100644
--- a/go.mod
+++ b/go.mod
@@ -1,5 +1,5 @@
module kafka-sandbox
-go 1.21
+go 1.22
require github.com/confluentinc/confluent-kafka-go v1.9.2