configuration.yaml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. version: 1
  2. logging:
  3. version: 1
  4. disable_existing_loggers: false
  5. formatters:
  6. simple:
  7. format: '%(asctime)s %(levelname)-8s %(message)s'
  8. handlers:
  9. stderr:
  10. class: 'logging.StreamHandler'
  11. formatter: 'simple'
  12. root:
  13. level: DEBUG
  14. handlers:
  15. - 'stderr'
  16. source:
  17. backend:
  18. type: postgres_logical
  19. options:
  20. dsn: 'postgres://postgres@sentry_postgres:5432/sentry'
  21. slot:
  22. name: 'cdc'
  23. parser: 'wal2json_parser_with_headers'
  24. plugin: 'wal2json'
  25. create: true
  26. options:
  27. include-xids: 'true'
  28. include-timestamp: 'true'
  29. include-message-header: 'true'
  30. add-tables: '*.sentry_groupasignee, *.sentry_groupedmessage'
  31. snapshot:
  32. source:
  33. type: postgres
  34. options:
  35. dsn: 'postgres://postgres@sentry_postgres:5432/sentry'
  36. control:
  37. producer:
  38. backend:
  39. type: kafka
  40. options:
  41. topic: cdc_control
  42. options:
  43. bootstrap.servers: 'sentry_kafka:9093'
  44. producer:
  45. backend:
  46. type: kafka
  47. options:
  48. topic: cdc
  49. options:
  50. bootstrap.servers: 'sentry_kafka:9093'
  51. dogstatsd:
  52. host: localhost
  53. port: 8125
  54. message_sampling_rate: 0.1
  55. task_sampling_rate: 1.0
  56. sentry:
  57. enabled: false