Skip to content

Commit

Permalink
MMA-11806 workaround (confluentinc#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
ybyzek committed Jun 19, 2022
1 parent e45d915 commit ff50191
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cp-all-in-one-cloud/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ services:
container_name: control-center
ports:
- "9021:9021"
# Temporary workaround to MMA-11806
volumes:
- ./myprops.properties:/tmp/myprops.properties
- ./update_run.sh:/tmp/update_run.sh
command: "bash -c '/tmp/update_run.sh ; /etc/confluent/docker/run'"
environment:
CONTROL_CENTER_BOOTSTRAP_SERVERS: $BOOTSTRAP_SERVERS
CONTROL_CENTER_KSQL_KSQLDB1_URL: "http://ksqldb-server:8089"
Expand Down
1 change: 1 addition & 0 deletions cp-all-in-one-cloud/myprops.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
confluent.metrics.topic.max.message.bytes=8388608
3 changes: 3 additions & 0 deletions cp-all-in-one-cloud/update_run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

sed -i '/docker\/configure/a \\ncat /tmp/myprops.properties >> /etc/confluent-control-center/control-center.properties' /etc/confluent/docker/run

0 comments on commit ff50191

Please sign in to comment.