I am using apache beam DirectRunner to load data from kafka topic. My code is below:
conf={'bootstrap.servers':'localhost:9092'}
with beam.Pipeline() as pipeline:
(pipeline
| ReadFromKafka(consumer_config=conf,topics=['topic1'])
)
i am using below command to run this code:
python3 topic_to_gcs --runner DirectRunner
Getting below error:
File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'docker': 'docker'
Thanks in advance :)