eventuate-tram / eventuate-tram-docs

This is the manual for the Eventuate Tram and Eventuate Tram Saga projects
http://eventuate.io/docs/manual/eventuate-tram/latest/
Other
7 stars 9 forks source link

Document how to run CDC service without Docker #14

Open cer opened 5 years ago

cer commented 5 years ago

For example

curl --location -o SpringBoot.jar https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/io/eventuate/tram/core/eventuate-tram-cdc-mysql-service/0.21.3.RC3/eventuate-tram-cdc-mysql-service-0.21.3.RC3.jar

export SPRING_DATASOURCE_URL=jdbc:mysql://mysql/eventuate
export SPRING_DATASOURCE_USERNAME=mysqluser
export SPRING_DATASOURCE_PASSWORD=mysqlpw
export SPRING_DATASOURCE_DRIVER_CLASS_NAME=com.mysql.jdbc.Driver
export EVENTUATELOCAL_KAFKA_BOOTSTRAP_SERVERS=kafka:9092
export EVENTUATELOCAL_ZOOKEEPER_CONNECTION_STRING=zookeeper:2181
export EVENTUATELOCAL_CDC_DB_USER_NAME=root
export EVENTUATELOCAL_CDC_DB_PASSWORD=rootpassword
export EVENTUATELOCAL_CDC_POLLING_INTERVAL_IN_MILLISECONDS=500
export EVENTUATELOCAL_CDC_MAX_EVENTS_PER_POLLING=1000
export EVENTUATELOCAL_CDC_MAX_ATTEMPTS_FOR_POLLING=100
export EVENTUATELOCAL_CDC_POLLING_RETRY_INTERVAL_IN_MILLISECONDS=500
export EVENTUATELOCAL_CDC_READER_NAME=${EVENTUATELOCAL_CDC_READER_NAME}
export EVENTUATELOCAL_CDC_OFFSET_STORE_KEY=${EVENTUATELOCAL_CDC_OFFSET_STORE_KEY}
export EVENTUATELOCAL_CDC_MYSQL_BINLOG_CLIENT_UNIQUE_ID=${EVENTUATELOCAL_CDC_MYSQL_BINLOG_CLIENT_UNIQUE_ID}
export EVENTUATELOCAL_CDC_READ_OLD_DEBEZIUM_DB_OFFSET_STORAGE_TOPIC=${EVENTUATELOCAL_CDC_READ_OLD_DEBEZIUM_DB_OFFSET_STORAGE_TOPIC}

java -jar SpringBoot.jar ...
khandar-william commented 4 years ago

Is the CDC service available as open source?

cer commented 4 years ago

Is the CDC service available as open source?

Yes. Why do you ask? https://github.com/eventuate-foundation/eventuate-cdc/

cer commented 4 years ago

And, document corresponding application.properties.

chandu575 commented 2 years ago

Hi Chris Richardson, We are trying to download CDC eventuate-tram-cdc-mysql-service-0.21.3.RELEASE.jar jar,but it is not downloading from Mavne,Gradle repo.

io.eventuate.tram.core eventuate-tram-cdc-mysql-service 0.21.3.RELEASE
cer commented 2 years ago

See https://github.com/eventuate-tram/eventuate-tram-docs/issues/43