文件下载
文件名 操作
kafka_2.12-3.0.2.jar 下载
kafka_2.12-3.0.2.pom 下载
kafka_2.12-3.0.2-sources.jar 下载
Apache Maven
<dependency>
  <groupId>org.apache.kafka</groupId>
  <artifactId>kafka_2.12</artifactId>
  <version>3.0.2</version>
</dependency>
Gradle Groovy
implementation 'org.apache.kafka:kafka_2.12:3.0.2'
Gradle Kotlin
implementation("org.apache.kafka:kafka_2.12:3.0.2")
Scala SBT
libraryDependencies += "org.apache.kafka" % "kafka_2.12" % "3.0.2"
Groovy Grape
@Grapes(
  @Grab(group='org.apache.kafka', module='kafka_2.12', version='3.0.2')
)
Apache Ivy
<dependency org="org.apache.kafka" name="kafka_2.12" rev="3.0.2" />
Leiningen
[org.apache.kafka/kafka_2.12 "3.0.2"]
Apache Buildr
'org.apache.kafka:kafka_2.12:jar:3.0.2'