Commit 07c3eb6e authored by 任婷婷's avatar 任婷婷

.

parent 2e344058
...@@ -202,9 +202,9 @@ def show_kafka_and_portrait(): ...@@ -202,9 +202,9 @@ def show_kafka_and_portrait():
print('*' * 100) print('*' * 100)
kafka_data = get_kafka(cl_id) kafka_data = get_kafka(cl_id)
doris_data = get_portrait(cl_id) doris_data = get_portrait(cl_id)
for key,val in kafka_data.items: for i,val in enumerate(kafka_data):
print('kafka:',cl_id,key,val) print('kafka:',cl_id,i,val)
print('portrait:',cl_id,key,doris_data[key]) print('portrait:',cl_id,i,doris_data[i])
except Exception as e: except Exception as e:
print(e) print(e)
return None return None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment