Skip to content

Commit 77edf66

Browse files
authored
fix recordIdFromGrpc (#129)
1 parent 48949df commit 77edf66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/main/java/io/hstream/util/GrpcUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class GrpcUtils {
1414

1515
public static String recordIdFromGrpc(io.hstream.internal.RecordId recordId) {
1616
return String.format(
17-
"%s-%s-%s", recordId.getBatchIndex(), recordId.getBatchId(), recordId.getShardId());
17+
"%s-%s-%s", recordId.getShardId(), recordId.getBatchId(), recordId.getBatchIndex());
1818
}
1919

2020
public static RecordId recordIdToGrpc(String recordId) {

0 commit comments

Comments
 (0)