key selector中使用random.nextInt(parallelism) 有时会报错
缪俊杰 成就客户 | 团队合作 开放进取 | 务实 诚信 用心 上海致宇信息技术有限公司 Shanghai Hex Information Technology Co,. Ltd. 地址:上海市徐汇区桂平路418号漕河泾国际孵化中心A区2601室 电话:021-64958718 手机:17858939731 传真:021-64958710 邮编:200233 网站:www.goupwith.com From: yue ma Date: 2022-09-09 17:41 To: user-zh Subject: Re: Key group is not in KeyGroupRange 你好,可以看一下使用的 key selector 是否稳定,key 是否会变化。 junjie.m...@goupwith.com <junjie.m...@goupwith.com> 于2022年9月9日周五 17:35写道: > hi: > 本人遇到了这个报错: > Key group 51 is not in KeyGroupRange{startKeyGroup=64, endKeyGroup=127}. > Unless you're directly using low level state access APIs, this is most > likely caused by non-deterministic shuffle key (hashCode and equals > implementation). > > 这个报错出现的莫名其妙,想了解这个错误是在什么样的情况下才会导致这个报错的? > 谢谢!! > >