summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2024-02-07 11:40:56 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2024-02-07 11:40:56 +0100
commitc4d37d593262f8ff0053693513d1a5e397ff2b5d (patch)
tree117e224b9cfcd44fb364e912e26eaafc8f6d762c
parentfc9414a56dbcbf7956e1c6fdf7bd7b4a5df2be15 (diff)
downloadkafka-sandbox-c4d37d593262f8ff0053693513d1a5e397ff2b5d.tar.gz
kafka-sandbox-c4d37d593262f8ff0053693513d1a5e397ff2b5d.tar.bz2
kafka-sandbox-c4d37d593262f8ff0053693513d1a5e397ff2b5d.tar.xz
kafka-sandbox-c4d37d593262f8ff0053693513d1a5e397ff2b5d.zip
wip
-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