Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to run CDC service without Docker #14

Open
cer opened this issue Jul 19, 2019 · 5 comments
Open

Document how to run CDC service without Docker #14

cer opened this issue Jul 19, 2019 · 5 comments

Comments

@cer
Copy link
Contributor

cer commented Jul 19, 2019

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
Copy link

Is the CDC service available as open source?

@cer
Copy link
Contributor Author

cer commented Jun 14, 2020

Is the CDC service available as open source?

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

@cer
Copy link
Contributor Author

cer commented Jun 14, 2020

And, document corresponding application.properties.

@chandu575
Copy link

chandu575 commented Jan 25, 2022

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
Copy link
Contributor Author

cer commented Jan 25, 2022

See #43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants