Skip to content

Commit

Permalink
MINOR: Bump version to 2.0.0-SNAPSHOT (apache#4804)
Browse files Browse the repository at this point in the history
  • Loading branch information
ijuma authored and rajinisivaram committed Apr 25, 2018
1 parent acd669e commit c853ef7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
10 changes: 9 additions & 1 deletion core/src/main/scala/kafka/api/ApiVersion.scala
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ object ApiVersion {
// Introduced DeleteGroupsRequest V0 via KIP-229, plus KIP-227 incremental fetch requests,
// and KafkaStorageException for fetch requests.
"1.1-IV0" -> KAFKA_1_1_IV0,
"1.1" -> KAFKA_1_1_IV0
"1.1" -> KAFKA_1_1_IV0,
"2.0-IV0" -> KAFKA_2_0_IV0,
"2.0" -> KAFKA_2_0_IV0
)

private val versionPattern = "\\.".r
Expand Down Expand Up @@ -205,3 +207,9 @@ case object KAFKA_1_1_IV0 extends ApiVersion {
val messageFormatVersion = RecordFormat.V2
val id: Int = 14
}

case object KAFKA_2_0_IV0 extends ApiVersion {
val version: String = "2.0-IV0"
val messageFormatVersion = RecordFormat.V2
val id: Int = 15
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
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.
version=1.2.0-SNAPSHOT
version=2.0.0-SNAPSHOT
scalaVersion=2.11.12
task=build
org.gradle.jvmargs=-XX:MaxPermSize=512m -Xmx1024m -Xss2m
2 changes: 1 addition & 1 deletion kafka-merge-pr.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@

DEV_BRANCH_NAME = "trunk"

DEFAULT_FIX_VERSION = os.environ.get("DEFAULT_FIX_VERSION", "1.2.0")
DEFAULT_FIX_VERSION = os.environ.get("DEFAULT_FIX_VERSION", "2.0.0")

def get_json(url):
try:
Expand Down
2 changes: 1 addition & 1 deletion tests/kafkatest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
# Instead, in development branches, the version should have a suffix of the form ".devN"
#
# For example, when Kafka is at version 1.0.0-SNAPSHOT, this should be something like "1.0.0.dev0"
__version__ = '1.2.0.dev0'
__version__ = '2.0.0.dev0'

0 comments on commit c853ef7

Please sign in to comment.