blob: 407b4bc94af3fcfed212e1d1baedb63416ca6baf [file] [log] [blame]
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# The logger configuration.
logger:
log_pattern: ${SATELLITE_LOGGER_LOG_PATTERN:%time [%level][%field] - %msg}
time_pattern: ${SATELLITE_LOGGER_TIME_PATTERN:2006-01-02 15:04:05.000}
level: ${SATELLITE_LOGGER_LEVEL:info}
# The Satellite self telemetry configuration.
telemetry:
cluster: ${SATELLITE_TELEMETRY_CLUSTER:default-cluster}
service: ${SATELLITE_TELEMETRY_SERVICE:default-service}
instance: ${SATELLITE_TELEMETRY_SERVICE:default-instance}
# The sharing plugins referenced by the specific plugins in the different pipes.
sharing:
clients:
- plugin_name: "kafka-client"
brokers: ${SATELLITE_KAFKA_CLIENT_BROKERS:127.0.0.1:9092}
version: ${SATELLITE_KAFKA_VERSION:"2.1.1"}
servers:
- plugin_name: "grpc-server"
- plugin_name: "prometheus-server"
address: ${SATELLITE_PROMETHEUS_ADDRESS:":8090"}
# The working pipes.
pipes:
- common_config:
pipe_name: pipe1
gatherer:
server_name: "grpc-server"
receiver:
plugin_name: "grpc-nativelog-receiver"
queue:
plugin_name: "mmap-queue"
segment_size: ${SATELLITE_MMAP_QUEUE_SIZE:524288}
max_in_mem_segments: ${SATELLITE_MMAP_QUEUE_MAX_IN_MEM_SEGMENTS:6}
queue_dir: "pipe1-log-grpc-receiver-queue"
processor:
filters:
sender:
fallbacker:
plugin_name: none-fallbacker
flush_time: ${SATELLITE_PIPE1_SENDER_FLUSH_TIME:1000}
max_buffer_size: ${SATELLITE_PIPE1_SENDER_MAX_BUFFER_SIZE:200}
min_flush_events: ${SATELLITE_PIPE1_SENDER_MIN_FLUSH_EVENTS:100}
client_name: kafka-client
forwarders:
- plugin_name: nativelog-kafka-forwarder
topic: ${SATELLITE_NATIVELOG-TOPIC:log-topic}