|
- {
- "dsp": {
- "active": "dev"
- },
- "kafka": {
- "topic": {
- "dsp-alg-online-tasks-topic": "dsp-alg-online-tasks",
- "dsp-alg-offline-tasks-topic": "dsp-alg-offline-tasks",
- "dsp-alg-image-tasks-topic": "dsp-alg-image-tasks",
- "dsp-alg-results-topic": "dsp-alg-task-results",
- "dsp-recording-task-topic": "dsp-recording-task",
- "dsp-recording-result-topic": "dsp-recording-result"
- },
- "dev": {
- "bootstrap_servers": ["192.168.11.13:9092"],
- "dsp-alg-online-tasks": {
- "partition": [0]
- },
- "dsp-alg-offline-tasks": {
- "partition": [0]
- },
- "dsp-alg-task-results": {
- "partition": [0]
- },
- "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": 0,
- "max_poll_records": 1
- }
- },
- "test": {
- "bootstrap_servers": ["106.14.96.218:19092"],
- "dsp-alg-online-tasks": {
- "partition": [0]
- },
- "dsp-alg-offline-tasks": {
- "partition": [0]
- },
- "dsp-alg-task-results": {
- "partition": [0]
- },
- "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": 0,
- "max_poll_records": 1
- }
- },
- "prod": {
- "bootstrap_servers": ["101.132.127.1:19094"],
- "dsp-alg-online-tasks": {
- "partition": [0]
- },
- "dsp-alg-offline-tasks": {
- "partition": [0]
- },
- "dsp-alg-task-results": {
- "partition": [0]
- },
- "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": 0,
- "max_poll_records": 1
- }
- }
- },
- "video": {
- "file_path": "../dsp/video/",
- "video_add_water": 0
- },
- "service": {
- "frame_score": 0.4,
- "filter": {
- "picture_similarity": 1,
- "similarity": 0.65,
- "frame_step": 160
- },
- "timeout": 21600,
- "cv2_pull_stream_timeout": 1000,
- "cv2_read_stream_timeout": 1000,
- "recording_pull_stream_timeout": 600
- },
- "model": {
- "limit": 3
- },
- "task": {
- "limit": 5
- }
- }
|