kafka: topic: dsp-alg-online-tasks-topic: dsp-alg-online-tasks dsp-alg-online-tasks: partition: [0] dsp-alg-offline-tasks-topic: dsp-alg-offline-tasks dsp-alg-offline-tasks: partition: [0] dsp-alg-results-topic: dsp-alg-task-results dsp-alg-task-results: partition: [0] active: dev local: bootstrap_servers: ['192.168.10.11:9092'] producer: acks: -1 retries: 3 linger_ms: 50 retry_backoff_ms: 1000 max_in_flight_requests_per_connection: 5 consumer: client_id: dsp_ai_server group_id: dsp-ai-local auto_offset_reset: latest enable_auto_commit: False max_poll_records: 1 dev: bootstrap_servers: ['192.168.11.13:9092'] producer: acks: -1 retries: 3 linger_ms: 50 retry_backoff_ms: 1000 max_in_flight_requests_per_connection: 5 consumer: client_id: dsp_ai_server group_id: dsp-ai-dev auto_offset_reset: latest enable_auto_commit: False max_poll_records: 1 test: bootstrap_servers: ['192.168.11.242:9092'] producer: acks: -1 retries: 3 linger_ms: 50 retry_backoff_ms: 1000 max_in_flight_requests_per_connection: 5 consumer: client_id: dsp_ai_server group_id: dsp-ai-test auto_offset_reset: latest enable_auto_commit: False max_poll_records: 1 prod: bootstrap_servers: ['101.132.127.1:19092'] producer: acks: -1 retries: 3 linger_ms: 50 retry_backoff_ms: 1000 max_in_flight_requests_per_connection: 5 consumer: client_id: dsp_ai_server group_id: dsp-ai-prod auto_offset_reset: latest enable_auto_commit: False max_poll_records: 1 gpu: # 'first'- 按升序排列可用的 GPU 设备 ID(默认) # 'last'- 按 id 降序排列可用的 GPU 设备 id # 'random'- 随机订购可用的 GPU 设备 ID # 'load'- 按负载递增排序可用的 GPU 设备 ID # 'memory'- 通过升序内存使用来排序可用的 GPU 设备 ID order: 'memory' # 获取可用gpu数量 limit: 1 # 最大负载 maxLoad: 0.8 # 最大内存 maxMemory: 0.8 includeNan: False excludeID: [] excludeUUID: [] video: # 视频拉取失败,保存路径 file_path: /home/DATA/dsp/ai/video/ aliyun: access_key: LTAI5tSJ62TLMUb4SZuf285A access_secret: MWYynm30filZ7x0HqSHlU3pdLVNeI7 oss: endpoint: http://oss-cn-shanghai.aliyuncs.com bucket: 'ta-tech-image' connect_timeout: 30 vod: host_address: https://vod.play.t-aaron.com/ ecsRegionId: "cn-shanghai" service: frame_step: 270 # 多少帧数步长之间获取一次分析图片 timeout: 21600 # 一次识别任务超时时间,单位秒,默认6个小时 cv2_pull_stream_timeout: 3600 # 直播开始视频未推流超时时间 cv2_read_stream_timeout: 1800 # 直播读流中超时时间 # 日志设置 log: # 是否开启文件输出 True:开启 False:关闭 enable_file_log: True # 是否开启控制台日志输出 True:开启 False:关闭 enable_stderr: False # 日志打印文件夹 base_path: /home/DATA/dsp/python/logs/ # 日志文件名称 log_name: dsp.log # 日志打印格式 log_fmt: "{time:YYYY-MM-DD HH:mm:ss.SSS} [{level}][{process.name}-{process.id}-{thread.name}-{thread.id}][{line}] {module}-{function} - {message}" # 日志隔离级别 level: DEBUG # 日志每天0点创建新文件 rotation: 00:00 # 日志保存时间15天 retention: 15 days # 线程安全 enqueue: True # 编码格式 encoding: utf8