We need to do a series of joins against a KTable that we can't co- partition with the stream, so we're looking at GlobalKTable. But the topic backing the table is not ideally keyed for the sort of lookups this particular processor needs to do. Unfortunately, GlobalKTable is very limited in that you can only build one with the exact keys/values from the backing topic. I'd like to be able to perform various transformations on the topic before materializing the table. I'd envision it looking something like the following:
builder.globalTable(keySerde, valueSerde, topicName) .filter((k, v) -> k.isFoo()) .map((k, v) -> new KeyValue<>(k.getBar(), v.getBaz())) .build(tableKeySerde, tableValueSerde, storeName); Is this something that has been considered or that others would find useful? -- Tommy Becker Senior Software Engineer O +1 919.460.4747 tivo.com ________________________________ This email and any attachments may contain confidential and privileged material for the sole use of the intended recipient. Any review, copying, or distribution of this email (or any attachments) by others is prohibited. If you are not the intended recipient, please contact the sender immediately and permanently delete this email and any attachments. No employee or agent of TiVo Inc. is authorized to conclude any binding agreement on behalf of TiVo Inc. by email. Binding agreements with TiVo Inc. may only be made by a signed written agreement.