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-4579][Audit] Delete redundant configuration in channel and sink #4581

Merged
merged 1 commit into from
Jun 10, 2022
Merged
Show file tree
Hide file tree
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
8 changes: 4 additions & 4 deletions inlong-audit/conf/audit-proxy-pulsar.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
# in this case called 'agent'

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

agent1.sources.tcp-source.channels = ch-msg1 ch-msg2
agent1.sources.tcp-source.channels = ch-msg1
agent1.sources.tcp-source.type = org.apache.inlong.audit.source.SimpleTcpSource
agent1.sources.tcp-source.msg-factory-name = org.apache.inlong.audit.source.ServerMessageFactory
agent1.sources.tcp-source.host = 0.0.0.0
Expand All @@ -37,7 +37,7 @@ agent1.sources.tcp-source.receiveBufferSize = 1048576
agent1.sources.tcp-source.sendBufferSize = 1048576
agent1.sources.tcp-source.custom-cp = true
agent1.sources.tcp-source.selector.type = org.apache.inlong.audit.channel.FailoverChannelSelector
agent1.sources.tcp-source.selector.master = ch-msg1 ch-msg2
agent1.sources.tcp-source.selector.master = ch-msg1
agent1.sources.tcp-source.metric-recovery-path=./data/recovery
agent1.sources.tcp-source.metric-agent-port=8003
agent1.sources.tcp-source.metric-cache-size=1000000
Expand Down
8 changes: 4 additions & 4 deletions inlong-audit/conf/audit-proxy-tube.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
# in this case called 'agent'

agent1.sources = tcp-source
agent1.channels = ch-msg1 ch-msg2
agent1.sinks = tube-sink-msg1 tube-sink-msg2
agent1.channels = ch-msg1
agent1.sinks = tube-sink-msg1

agent1.sources.tcp-source.channels = ch-msg1 ch-msg2
agent1.sources.tcp-source.channels = ch-msg1
agent1.sources.tcp-source.type = org.apache.inlong.audit.source.SimpleTcpSource
agent1.sources.tcp-source.msg-factory-name = org.apache.inlong.audit.source.ServerMessageFactory
agent1.sources.tcp-source.message-handler-name = org.apache.inlong.audit.source.ServerMessageHandler
Expand All @@ -43,7 +43,7 @@ agent1.sources.tcp-source.receiveBufferSize = 524288
agent1.sources.tcp-source.sendBufferSize = 524288
agent1.sources.tcp-source.custom-cp = true
agent1.sources.tcp-source.selector.type = org.apache.inlong.audit.channel.FailoverChannelSelector
agent1.sources.tcp-source.selector.master = ch-msg1 ch-msg2
agent1.sources.tcp-source.selector.master = ch-msg1
agent1.sources.tcp-source.metric-recovery-path=./data/recovery
agent1.sources.tcp-source.set=10

Expand Down