Question & Answer
Question
Cause
Answer
> cd C:\IBM\InformationServer
|
> cd shared-open-source\kafka\conf
> copy 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\windows
|
> kafka-topics.bat --zookeeper localhost:52181 --topic __consumer_offsets --alter --config cleanup.policy=delete
|
> kafka-configs.bat --bootstrap-server localhost:59092 --alter --entity-type topics --entity-name __consumer_offsets --add-config cleanup.policy=delete
|
> kafka-configs.bat --bootstrap-server localhost:59092 --describe --entity-type topics --entity-name __consumer_offsets
|
> cd ..\..\..\..\..
> cd shared-open-source\bin
> stop-windows-services.bat
> start-windows-services.bat
|
2024-08-07: update-config の記述を追加
Related Information
JR60146: ON WINDOWS THE KAFKA BROKER CANNOT DELETE THE OLD LOG FILES AFTER THE …
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
ibm10886275