hi there! i'm having some trouble figuring out a f...
# troubleshooting
j
hi there! i'm having some trouble figuring out a facet of flink's parallelism. i'm working on an app that is a hybrid of the datastream and table api's. i want to set the parallelism for the table api to a lower level than the parallelism for the datastream operators. the only setting i could find seems to impact both. is there a way to have different default parallelisms between the table api and datastream api, that doesn't involve setParallelism on each downstream operator? the table api loads data from s3, then the datastream api does some operations and outputs to datastream sinks. does anyone know how i might accomplish this? i was sort of expecting table.exec.resource.default-parallelism to only effect the table api, not down stream after transforming the Row into one of our dto's
t
I know that's not answering your question, but I'd avoid mixing Table and DataStream if possible. As you're experiencing first hand, it only leads to problems. Reading from S3 should be possible in DataStream, too.
j
I'm really curious about what else you might've run into mixing the two? The only thing I've ran into so far, that wasn't easy to resolve, is specifying an alternate parallelism for my table env.
t
We mainly had problems with bootstrapping from savepoints. The docs are clear about there being certain issues, but only our source was Table API, so we (naively) thought it might work.
πŸ‘ 1