-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdefault.toml
32 lines (28 loc) · 1.27 KB
/
default.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[kafka]
# A comma-separated list of URLs for the kafka brokers
urls = "localhost:9092"
# Two comma-separated lists of default decoders for decoding the key/value in kafka messages.
# The decoders will be used from first to last until a decoder is able to decode the message.
# The list of decoders can be overridden for specific topics (or groups of topics), an example:
#
# [[kafka.kafka-topics]]
# name = "test*"
# key-decoders = "utf8"
# value-decoders = "my_decoder,utf8"
#
# In this example, for all topics that start with "test" (matched by a regular expression), auto-detection will use utf-8
# for decoding the keys, and "my_decoder" (which is assumed to be a user written and installed decoder) will be first used to decode values,
# and will fallback to utf-8 decoding if that fails.
#
# See the plugins example for how to write and install a custom decoder.
key-decoders = "avro_confluent_schema_registry,utf8,utf8_lossy"
value-decoders = "avro_confluent_schema_registry,utf8,utf8_lossy"
[confluent-schema-registry]
# The url used to connect to the confluent schema registry.
url = "http://localhost:8081"
[kafka-connect]
# The url used to connect to the kafka-connect cluster.
url = "http://localhost:8083"
[server]
# The port on which the server listens for requests.
port = 9999