A bad issue with kafka and Spark Streaming on Python
问题 N.B. This is NOT the same issue that I had in my first post on this site, however it is the same project. I'm ingesting some files into PostgreSQL from kafka using spark streaming. These are my steps for the project: 1- Creating a script for the kafka producer (done, it works fine) 2- Creating a python script that reads files from kafka producer 3- Sending files to PostgreSQL For the connection between python and postgreSQL I use psycopg2. I am also using python 3 and java jdk1.8.0_261 and