# apache kafka & CDH kafka源码编译

Apache kafka编译

github地址：https://github.com/apache/kafka

编译（执行如下命令）

CDH kafka编译

git clone https://github.com/cloudera/kafka.git

# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#
# Unless required by applicable law or agreed to in writing, software
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and

group=org.apache.kafka
# NOTE: When you change this version number, you should also make sure to update
# the version numbers in tests/kafkatest/__init__.py and kafka-merge-pr.py.
cdhversion=6.1.0
version=2.0.0-cdh6.1.0
scalaVersion=2.11.12
mavenUrl=https://repository.cloudera.com/artifactory/cloudera-repos
#http://maven.jenkins.cloudera.com:8081/artifactory/cdh-snapshot-local
mavenSnapshotUrl=http://maven.jenkins.cloudera.com:8081/artifactory/cdh-snapshot-local
mavenArtifactoryUrl=http://maven.jenkins.cloudera.com:8081/artifactory/cloudera-mirrors
mavenPassword=