lakshmi-manasa-g commented on a change in pull request #1576:
URL: https://github.com/apache/samza/pull/1576#discussion_r798913861



##########
File path: 
samza-api/src/main/java/org/apache/samza/system/SystemStreamPartition.java
##########
@@ -38,6 +39,7 @@ public SystemStreamPartition(String system, String stream, 
Partition partition)
     super(system, stream);
     this.partition = partition;
     this.hash = computeHashCode();
+    this.keyBucket = -1;

Review comment:
       yes you are right.currently my indexes are 0-based and hence using -1 as 
the default when elasticity is off.
   
   if i choose keyBucket=0 for elasticity off, then i will have to start my 
elasticity enabled indexes from 1,2.. but this does not differ from default 
when elasticity off = -1 and start indexes from 0,1,2.. 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to