Commit 9bd778ea authored by lixiaofang's avatar lixiaofang

auto_vest

parent b4b236df
......@@ -16,7 +16,7 @@ from libs.error import logging_exception
def vest_irrigation(card_id=0, card_type=None, card_user_id=None, create_time="", content_level=0, tag_names=[]):
try:
producer = KafkaProducer(bootstrap_servers=[settings.KAFKA_BROKER_LIST])
producer = KafkaProducer(bootstrap_servers=settings.KAFKA_BROKER_LIST)
logging.info("新数据进来了:%s" % card_id)
topic = settings.KAFKA_TOPIC_NAME
......
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