- FROM flink:1.19.1
- ENV KAFKA_BROKERS kafka.observe.svc.cluster.local:9092
- ENV MYSQL_DSN jdbc:mysql://mysql.observe.svc.cluster.local:3306/observe
- ENV CH_WRITE_QUEUE_SIZE 10
- ENV CH_WRITER_NUM 5
- ENV CH_WRITE_BUF_SIZE 100000
- RUN mkdir -p $FLINK_HOME/usrlib
- RUN mkdir -p /conf
- COPY ./target/ob-agent-stream-1.0-SNAPSHOT.jar $FLINK_HOME/usrlib/ob-agent-stream.jar
|