Kafka 源码编译部署包

1. 版本
Java 版本: 1.7.0_80
Gradle 版本: 4.8.1
Kafka 版本: 0.11

2.打包
git clone https://github.com/apache/kafka.git
cd kafka
git checkout 0.11.0
编译整个工程的 tar 包,编译一次 5 分钟左右
gradle clean build releaseTarGz -x test
cd core\build\distributions

修改的地方

build.gradle
-    classpath 'org.scoverage:gradle-scoverage:2.1.0'
+    classpath 'org.scoverage:gradle-scoverage:2.5.0'



buildscript.gradle
   repositories {
     maven {
-      url 'http://dl.bintray.com/content/netflixoss/external-gradle-plugins/'
+      url 'https://maven.aliyun.com/repository/gradle-plugin'
     }
   }

你可能感兴趣的:(中间件,kafka)