zookeeper-server-start config/zookeeper.properties
kafka-server-start config/server.properties
kafka-console-consumer --bootstrap-server localhost:9092 --topic <topicid> --group <groupid>
kafka-console-producer --bootstrap-server localhost:9092 --topic <topicid>
kafka-topics --bootstrap-server localhost:9092 --topic <topicid> --describe
kafka-console-consumer --bootstrap-server localhost:9092 --topic <topicid> --from-beginning
kafka-topics --bootstrap-server localhost:9092 --list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MODE_INDICATOR="%{$fg_bold[red]%}❮%{$reset_color%}%{$fg[red]%}❮❮%{$reset_color%}" | |
local return_status="%{$fg[red]%}%(?..⏎)%{$reset_color%} " | |
ZSH_THEME_GIT_PROMPT_PREFIX="|" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg_bold[red]%}⚡%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_AHEAD="%{$fg_bold[red]%}!%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg_bold[green]%}✓%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_ADDED="%{$fg[green]%} ✚" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* -------------- FOR LINUX USERS ---------------- */ | |
1) Go to directory: "/usr/share/dbeaver" | |
2) Edit "dbeaver.ini" file | |
3) In that file add "-Duser.timezone=UTC" this line under "-vmargs" tag | |
4) Save it and restart dbeaver. | |
5) Enjoy with correct date without any date conversion. | |
Finally your dbeaver.ini file will look like this: | |
-startup |
type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis