I am using Flink 1.4.2 and I have one scenario in which I need to use two keys. For e.g.
KeyedStream<UsageStatistics, Tuple> keyedStream = stream.keyBy("clusterId", "ssid");
usageCounts = keyedStream.process(new CustomProcessFunction(windowSize,queryableStateName));
Value Description would
ValueStateDescriptor<SsidTotalUsage> descriptor = new ValueStateDescriptor(queryableStateName, SsidTotalUsage.class);
descriptor.setQueryable(queryableStateName);
Can anyone please suggest me to get state using queryable state client for multiple keys in flink?
Below QueryableClient is working well for a single key 'clusterId'.
kvState = queryableStateClient.getKvState(JobID.fromHexString(jobId), queryableStateName, clusterId, BasicTypeInfo.STRING_TYPE_INFO, descriptor);
What should be the type_info for multiple keys? Any suggestion/example or reference related to this will be very helpful?