1; I try to use valuetokey to change partition key with error "Only Struct objects supported for [copying fields from value to key], found: java.lang.String" ; 2; I want update The source code MongoSourceTask.poll() for return struct type, but couldn't change it;
how to solve it,thanks
I faced a similar issue which got resolved by defining:
in the connector configuration