[Core] Use core worker options to initialize (#10467)

* fix

* fix

* .
This commit is contained in:
kisuke95
2020-09-07 18:36:43 -05:00
committed by GitHub
parent 8db1f16f25
commit b7003839bd
9 changed files with 149 additions and 216 deletions
@@ -101,9 +101,9 @@ public class ChannelId {
| 8 bytes | 4bytes | 4bytes| 2bytes| 2bytes |
*/
Preconditions.checkArgument(fromTaskId < Short.MAX_VALUE,
"fromTaskId %d is larger than %d", fromTaskId, Short.MAX_VALUE);
"fromTaskId %s is larger than %s", fromTaskId, Short.MAX_VALUE);
Preconditions.checkArgument(toTaskId < Short.MAX_VALUE,
"toTaskId %d is larger than %d", fromTaskId, Short.MAX_VALUE);
"toTaskId %s is larger than %s", fromTaskId, Short.MAX_VALUE);
byte[] channelName = new byte[20];
for (int i = 11; i >= 8; i--) {