ICS sample producer and consumer
[nonrtric.git] / sample-services / ics-producer-consumer / consumer / src / main / resources / config.properties
1 #  ========================LICENSE_START=================================
2 #  O-RAN-SC
3 #
4 #  Copyright (C) 2024: OpenInfra Foundation Europe
5 #  ========================================================================
6 #  Licensed under the Apache License, Version 2.0 (the "License");
7 #  you may not use this file except in compliance with the License.
8 #  You may obtain a copy of the License at
9 #
10 #       http://www.apache.org/licenses/LICENSE-2.0
11 #
12 #  Unless required by applicable law or agreed to in writing, software
13 #  distributed under the License is distributed on an "AS IS" BASIS,
14 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 #  See the License for the specific language governing permissions and
16 #  limitations under the License.
17 #  ============LICENSE_END=================================================
18
19 # The location of the Kafka server
20 bootstrap.servers=${KAFKA_SERVERS:localhost:9092}
21
22 # the default group ID
23 group.id=test-group
24
25 # the default topic to use if one is not provided
26 default.topic=magic-topic
27
28 # The number of records to pull of the stream every time
29 # the client takes a trip out to Kafka
30 max.poll.records=10
31
32 # Make Kafka keep track of record reads by the consumer
33 enable.auto.commit=true
34
35 # The time in milliseconds to Kafka write the offset of the last message read
36 auto.commit.interval.ms=500
37
38 # classes for serializing and deserializing messages
39 key.deserializer=org.apache.kafka.common.serialization.StringDeserializer
40 value.deserializer=org.apache.kafka.common.serialization.StringDeserializer
41
42 enable.idempotence=false