kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jkr...@apache.org
Subject git commit: KAFKA-657 Change property name to offset.metadata.max.bytes for consistency.
Date Sat, 05 Jan 2013 00:01:28 GMT
Updated Branches:
  refs/heads/trunk 222c0e46a -> 274cd02f1


KAFKA-657 Change property name to offset.metadata.max.bytes for consistency.


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/274cd02f
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/274cd02f
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/274cd02f

Branch: refs/heads/trunk
Commit: 274cd02f1ad69650e8abe7022d36049124219317
Parents: 222c0e4
Author: Jay Kreps <jay.kreps@gmail.com>
Authored: Fri Jan 4 15:56:41 2013 -0800
Committer: Jay Kreps <jay.kreps@gmail.com>
Committed: Fri Jan 4 15:56:41 2013 -0800

----------------------------------------------------------------------
 core/src/main/scala/kafka/server/KafkaConfig.scala |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/274cd02f/core/src/main/scala/kafka/server/KafkaConfig.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/kafka/server/KafkaConfig.scala b/core/src/main/scala/kafka/server/KafkaConfig.scala
index 264a411..ccc35d3 100644
--- a/core/src/main/scala/kafka/server/KafkaConfig.scala
+++ b/core/src/main/scala/kafka/server/KafkaConfig.scala
@@ -174,6 +174,8 @@ class KafkaConfig private (val props: VerifiableProperties) extends ZKConfig(pro
   val producerRequestPurgatoryPurgeInterval = props.getInt("producer.purgatory.purge.interval",
10000)
 
   /*********** Misc configuration ***********/
-  val offsetMetadataMaxSize = props.getInt("offset.metadata.max.size", 1024)
+  
+  /* the maximum size for a metadata entry associated with an offset commit */
+  val offsetMetadataMaxSize = props.getInt("offset.metadata.max.bytes", 1024)
 
  }


Mime
View raw message