idea右邊沒有gradle小窗口
- File -> New -> Project From Existing Sources...

- 選擇 kafka 項目根目錄下的 build.gradle 文件

idea中 gradle 運行標識為灰色
-
File -> Settings...
-
搜索關鍵字 gradle -> 指定一下 Gradle 的安裝目錄

idea報錯Connection timed out
Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.
- 以 Win10 為例,右擊表示網絡連接的圖標

- 選擇 打開“網絡和Internet”設置

- 查看 代理 一欄:

- Idea的 File -> Settings... ,然后搜索 HTTP Proxy:

- 將第4步的1,2,3空填得跟第3步中的1,2,3一樣,就可以了。
