- 在这个目录下面可以开发
- kafka.sunqb.com 需要配置成自己的kafka服务地址
- 消息协议:username+";"+password+";"+"key"+";"+type (1表示签到,2表示签退)
- 服务上启动(不使用uwsgi): python manager.py runserver
- 客户端运行:安装python2.7,安装kafka-python。在attendance里面需要把myusername配置为自己的用户名,例如: myusername = '''sunqingbiao'''。把mq_c里面的my-group替换成自己的用户名
ercsonusharma / oa_qian Goto Github PK
View Code? Open in Web Editor NEWThis project forked from sunqb/oa_qian
基于kafka和python实现的某个功能
License: Apache License 2.0