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

[INLONG-3282][DataProxy] Add default order message configuration #3283

Merged
merged 1 commit into from
Mar 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions inlong-dataproxy/conf/dataproxy-pulsar.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
#

agent1.sources = tcp-source
agent1.channels = ch-msg1 ch-msg2 ch-msg5 ch-msg6
agent1.sinks = pulsar-sink-msg1 pulsar-sink-msg2 pulsar-sink-msg5 pulsar-sink-msg6
agent1.channels = ch-msg1 ch-msg2 ch-msg3 ch-msg5 ch-msg6
agent1.sinks = pulsar-sink-msg1 pulsar-sink-msg2 pulsar-sink-msg3 pulsar-sink-msg5 pulsar-sink-msg6

# For example:
# For order message ,ch-msg3 and pulsar-sink-msg3 must be configured
Expand All @@ -52,7 +52,7 @@ agent1.sources.tcp-source.custom-cp = true
agent1.sources.tcp-source.selector.type = org.apache.inlong.dataproxy.channel.FailoverChannelSelector
agent1.sources.tcp-source.selector.master = ch-msg1 ch-msg2
# For order message
# agent1.sources.tcp-source.selector.order = ch-msg3
agent1.sources.tcp-source.selector.order = ch-msg3
agent1.sources.tcp-source.metric-recovery-path = /data/DataProxy/file/recovery
agent1.sources.tcp-source.metric-agent-port = 8003
agent1.sources.tcp-source.metric-cache-size = 1000000
Expand All @@ -69,10 +69,10 @@ agent1.channels.ch-msg2.keep-alive = 0
agent1.channels.ch-msg2.transactionCapacity = 200

# For order message
# agent1.channels.ch-msg3.type = memory
# agent1.channels.ch-msg3.capacity = 10000
# agent1.channels.ch-msg3.keep-alive = 0
# agent1.channels.ch-msg3.transactionCapacity = 200
agent1.channels.ch-msg3.type = memory
agent1.channels.ch-msg3.capacity = 10000
agent1.channels.ch-msg3.keep-alive = 0
agent1.channels.ch-msg3.transactionCapacity = 200

agent1.channels.ch-msg5.type = file
agent1.channels.ch-msg5.capacity = 100000000
Expand All @@ -99,8 +99,8 @@ agent1.sinks.pulsar-sink-msg2.channel = ch-msg2
agent1.sinks.pulsar-sink-msg2.type = org.apache.inlong.dataproxy.sink.PulsarSink

# For order message
# agent1.sinks.pulsar-sink-msg3.channel = ch-msg3
# agent1.sinks.pulsar-sink-msg3.type = org.apache.inlong.dataproxy.sink.PulsarSink
agent1.sinks.pulsar-sink-msg3.channel = ch-msg3
agent1.sinks.pulsar-sink-msg3.type = org.apache.inlong.dataproxy.sink.PulsarSink

agent1.sinks.pulsar-sink-msg5.channel = ch-msg5
agent1.sinks.pulsar-sink-msg5.type = org.apache.inlong.dataproxy.sink.PulsarSink
Expand Down