Skip to main content
Version: Next

Configuration

Overview

  • Audit-proxy source-channel-sink pipeline configuration (audit-proxy-{tube|pulsar|kafka}.conf).
  • Audit-store storage service configuration (application.properties).
  • OpenAPI audit-service configuration audit-service.properties.

Audit Proxy Configuration (audit-proxy-{tube|pulsar|kafka}.conf)

Basic Configuration

ParameterDescriptionDefault valueNotes
agent1.sourcessource typpetcp-source
agent1.channelsused channelch-msg1
agent1.sinksused sinkpulsar-sink-msg1

Sources Configuration

ParameterDescriptionDefault valueNotes
agent1.sources.tcp-source.channelsDefine the channel used in the sourcech-msg1
agent1.sources.tcp-source.hosttcp ip binding and listening0.0.0.0
agent1.sources.tcp-source.porttcp port binding10081

Channel Configuration

ParameterDescriptionDefault valueNotes
agent1.channels.ch-msg1.typememory channel typememory
agent1.channels.ch-msg2.typefile channel typefile

Sink Configuration

ParameterDescriptionDefault valueNotes
agent1.sinks.pulsar-sink-msg1.channelThe upstream channel name of the sinkch-msg1
agent1.sinks.pulsar-sink-msg1.typeThe sink class is implemented, where the message pushes data to the pulsar clusterorg.apache.inlong.audit.sink.PulsarSink
agent1.sinks.pulsar-sink-msg1.pulsar_server_urlpulsar brokerpulsar://localhost:6650
agent1.sinks.pulsar-sink-msg1.topicpulsar topicpersistent://public/Default value/inlong-audit
agent1.sinks.pulsar-sink-msg1.enable_token_authWhether security certification is requiredfalse
agent1.sinks.pulsar-sink-msg1.auth_tokenpulsar authentication token

Audit Store Configuration (application.properties)

MQ Configuration

ParameterDescriptionDefault valueNotes
audit.config.proxy.typeMQ typepulsar
audit.pulsar.server.urlpulsar brokerpulsar://127.0.0.1:6650
audit.pulsar.topicpulsar topicpersistent://public/Default value/inlong-audit
audit.pulsar.consumer.sub.nameconsumerinlong-audit-subscription
audit.pulsar.enable.authWhether security certification is requiredfalse
audit.pulsar.tokenpulsar authentication token

MySQL / StarRocks Configuration

ParameterDescriptionDefault valueNotes
jdbc.urlStarRocks URLjdbc:mysql://127.0.0.1:8123/default
jdbc.usernameaccount namedefault
jdbc.passwordpassworddefault

OpenAPI Audit Service

configuration audit-service.properties

ParameterDescriptionDefault valueNotes
mysql.jdbc.urlmysql URLjdbc:mysql://127.0.0.1:8123/default
mysql.usernameaccount namedefault
mysql.passwordpassworddefault