I had a small discussion about using session mode on a kubernetes cluster to avoid the overhead of an entire JVM for small, stateless jobs with few messages. I would still love to hear if anyone has any recommendations for other lightweight data processing frameworks or some other idea, but that is already stated above so the main question here is whether session mode is recommended for production in kubernetes. I saw the Flink documentation states that application mode is recommended for production on a kubernetes cluster
https://nightlies.apache.org/flink/flink-docs-master/docs/deployment/resource-providers/native_kubernetes/#deployment-modes and I also had some worries about this part "[session mode] This has the advantage that you do not pay the resource overhead of spinning up a full cluster for every submitted job. But, if one of the jobs misbehaves or brings down a TaskManager, then all jobs running on that TaskManager will be affected by the failure." as well as how the jobmanager handles a lot of concurrent jobs such as 100 or 1000 jobs on a single jobmanager