Last active
November 18, 2023 19:40
-
-
Save tbaums/0c20ddcf71485e15f0f06c6e0bf3329d to your computer and use it in GitHub Desktop.
demo-config.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[node] | |
display_name = "device1" | |
storage_path = "client.sqlite" | |
unique_id = "device1" | |
# MYCELIAL SERVER | |
# Replace with the endpoint and token for your Sqlite Physical Replication Server | |
[server] | |
endpoint = "http://0.0.0.0:7777" # Default Sqlite Physical Replication Server endpoint | |
token = "token" # Default token for Sqlite Physical Replication Server and Clients | |
[[sources]] | |
type = "hello_world" | |
interval_milis = 5000 | |
message = 1 | |
display_name = "Hello World Src" | |
# DESTINATIONS | |
# Define all data DESTINATIONS (data stores and directory paths) | |
# accessible by the Node that should be exposed as DESTINATIONS to the Sqlite Physical Replication Server | |
[[destinations]] | |
type = "hello_world" | |
display_name = "Hello World Dest" | |
[[destinations]] | |
type = "postgres_connector" | |
display_name = "postgres destination" | |
url = "postgres://user:password@postgres:5432/demo" | |
[[destinations]] | |
type = "mysql_connector" | |
display_name = "mysql destination" | |
url = "mysql://root:password@mysql:3306/demo" | |
[[destinations]] | |
type = "kafka" | |
display_name = "Kafka Destination" | |
brokers = "redpanda:29092" | |
topic = "demo" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment