Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

117 linhas
2.8KB

  1. {
  2. "dsp": {
  3. "active": "dev"
  4. },
  5. "kafka": {
  6. "topic": {
  7. "dsp-alg-online-tasks-topic": "dsp-alg-online-tasks",
  8. "dsp-alg-offline-tasks-topic": "dsp-alg-offline-tasks",
  9. "dsp-alg-image-tasks-topic": "dsp-alg-image-tasks",
  10. "dsp-alg-results-topic": "dsp-alg-task-results",
  11. "dsp-recording-task-topic": "dsp-recording-task",
  12. "dsp-recording-result-topic": "dsp-recording-result"
  13. },
  14. "dev": {
  15. "bootstrap_servers": ["192.168.11.13:9092"],
  16. "dsp-alg-online-tasks": {
  17. "partition": [0]
  18. },
  19. "dsp-alg-offline-tasks": {
  20. "partition": [0]
  21. },
  22. "dsp-alg-task-results": {
  23. "partition": [0]
  24. },
  25. "producer": {
  26. "acks": -1,
  27. "retries": 3,
  28. "linger_ms": 50,
  29. "retry_backoff_ms": 1000,
  30. "max_in_flight_requests_per_connection": 5
  31. },
  32. "consumer": {
  33. "client_id": "dsp_ai_server",
  34. "group_id": "dsp-ai-dev",
  35. "auto_offset_reset": "latest",
  36. "enable_auto_commit": 0,
  37. "max_poll_records": 1
  38. }
  39. },
  40. "test": {
  41. "bootstrap_servers": ["106.14.96.218:19092"],
  42. "dsp-alg-online-tasks": {
  43. "partition": [0]
  44. },
  45. "dsp-alg-offline-tasks": {
  46. "partition": [0]
  47. },
  48. "dsp-alg-task-results": {
  49. "partition": [0]
  50. },
  51. "producer": {
  52. "acks": -1,
  53. "retries": 3,
  54. "linger_ms": 50,
  55. "retry_backoff_ms": 1000,
  56. "max_in_flight_requests_per_connection": 5
  57. },
  58. "consumer": {
  59. "client_id": "dsp_ai_server",
  60. "group_id": "dsp-ai-test",
  61. "auto_offset_reset": "latest",
  62. "enable_auto_commit": 0,
  63. "max_poll_records": 1
  64. }
  65. },
  66. "prod": {
  67. "bootstrap_servers": ["101.132.127.1:19094"],
  68. "dsp-alg-online-tasks": {
  69. "partition": [0]
  70. },
  71. "dsp-alg-offline-tasks": {
  72. "partition": [0]
  73. },
  74. "dsp-alg-task-results": {
  75. "partition": [0]
  76. },
  77. "producer": {
  78. "acks": -1,
  79. "retries": 3,
  80. "linger_ms": 50,
  81. "retry_backoff_ms": 1000,
  82. "max_in_flight_requests_per_connection": 5
  83. },
  84. "consumer": {
  85. "client_id": "dsp_ai_server",
  86. "group_id": "dsp-ai-prod",
  87. "auto_offset_reset": "latest",
  88. "enable_auto_commit": 0,
  89. "max_poll_records": 1
  90. }
  91. }
  92. },
  93. "video": {
  94. "file_path": "../dsp/video/",
  95. "video_add_water": 0
  96. },
  97. "service": {
  98. "frame_score": 0.4,
  99. "filter": {
  100. "picture_similarity": 1,
  101. "similarity": 0.65,
  102. "frame_step": 160
  103. },
  104. "timeout": 21600,
  105. "cv2_pull_stream_timeout": 1000,
  106. "cv2_read_stream_timeout": 1000,
  107. "recording_pull_stream_timeout": 600
  108. },
  109. "model": {
  110. "limit": 3
  111. },
  112. "task": {
  113. "limit": 5
  114. }
  115. }