我使用apachebeamdirectrunner从kafka主题加载数据。我的代码如下:
conf={'bootstrap.servers':'localhost:9092'}
with beam.Pipeline() as pipeline:
(pipeline
| ReadFromKafka(consumer_config=conf,topics=['topic1'])
)
我正在使用以下命令运行此代码:
python3 topic_to_gcs --runner DirectRunner
获取以下错误:
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'
提前感谢:)
暂无答案!
目前还没有任何答案,快来回答吧!