Unify configuration parsing logic across entrypoints and clean up legacy script-side config paths.
Centralize the error channel size, retry policy and max-failed batches/partition limits in the job config.