Question & Answer
Question
Cause
Answer
# cd /opt/IBM/InformationServer
|
# cd shared-open-source/kafka/conf
# cp server1.properties server1.properties.orig
|
log.retention.hours=168
→ log.retention.hours=1
log.cleaner.enable=true
→ log.cleaner.enable=false
|
# cd ../../..
# cd shared-open-source/kafka/install/bin
# JAVA_HOME=/opt/IBM/InformationServer/jdk ; export JAVA_HOME
|
# ./kafka-topics.sh --zookeeper localhost:52181 --topic __consumer_offsets --alter --config cleanup.policy=delete
|
# ./kafka-configs.sh --bootstrap-server localhost:59092 --alter --entity-type topics --entity-name __consumer_offsets --add-config cleanup.policy=delete
|
# ./kafka-configs.sh --bootstrap-server localhost:59092 --describe --entity-type topics --entity-name __consumer_offsets
|
# cd ../../../..
# cd shared-open-source/bin
# ./stop-linux-services.sh
# ./start-linux-services.sh
|
# cd ../../../..
# cd shared-open-source/bin
# ./stop-aix-services.sh
# ./start-aix-services.sh
|
Related Information
InfoSphere Information Server: kafka\data\1\__consumer_offsets-0 に多数のログファイル (Wi…
How to clean up log collection for kafka in shared open source service in Infor…
InfoSphere Information Server: 同梱 Kafka のバージョンを確認
KIP-604: Remove ZooKeeper Flags from the Administrative Tools
InfoSphere Information Server: Shared Open Source Services の update-config.sh が…
Was this topic helpful?
Document Information
Modified date:
06 August 2024
UID
ibm16612223