Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

kafka set retention time for topic

#set retention time to forever with -1 value
./bin/kafka-topics --zookeeper zookeeper:2181 --alter --topic my-topic --config retention.ms=-1
Comment

how to check kafka topic retention period

bin/kafka-topics.sh --zookeeper hostname:2181 --alter --config retention.ms=172800000 --topic <topic_name>
Comment

PREVIOUS NEXT
Code Example
Shell :: volume buttons not working ubuntu 18.04 
Shell :: 15 second rubber ducky password 
Shell :: git initial commands 
Shell :: how to turn on hotspot on windows 10 
Shell :: list users in ubuntu 
Shell :: change file name in terminal 
Shell :: install python debian 
Shell :: powershell print environment variables 
Shell :: install discord fedora 
Shell :: docker remove all images powershell 
Shell :: push new branch to remote 
Shell :: create new branch git 
Shell :: install office 365 in ubuntu 
Shell :: install kotlin ubuntu 
Shell :: how to upgrade docker-compose version 
Shell :: installation of docker 
Shell :: git clone only one branch 
Shell :: bash get kernel version 
Shell :: test redis connection 
Shell :: aws folder permission denied 
Shell :: how to install atom on manjaro 
Shell :: git switch vs checkout 
Shell :: create conda environment from yaml file 
Shell :: how to upgrade terraform v0.13 on mac 
Shell :: git get project name 
Shell :: how to run .sh file in background linux 
Shell :: comprimir carpeta linux comando 
Shell :: bash escape special characters in variable 
Shell :: flush dns 
Shell :: install docker in ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =