Skip to content

Commit

Permalink
feat: support elasticsearch module
Browse files Browse the repository at this point in the history
  • Loading branch information
yian-shih committed Aug 16, 2024
1 parent 0afeec0 commit 81691bc
Show file tree
Hide file tree
Showing 13 changed files with 334 additions and 685 deletions.
9 changes: 8 additions & 1 deletion brownie/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,16 @@ KAFKA_PASSWORD=admin

POSTGRESQL_CONFIG_NAMES="server1 server2"

#Elasticsearch
ELASTICSEARCH_BROKER_PROTOCOL=http
ELASTICSEARCH_BROKERS=$LOCAL_HOST_IP
ELASTICSEARCH_PORT=9200
ELASTICSEARCH_USERNAME=admin
ELASTICSEARCH_PASSWORD=admin

ENABLED_MODULES="postgresql=server1;server2,kafka"
BROWNIE_NODE_OPTIONS=--max-heap-size=256
# Pattern with group wich extracts timestamp made of 14 digits: yyyyMMddHHmmss prefixed with "ts"
TIMESTAMP_PATTRN="^.*pit.*_(ts\d{14,14}).*"
TIMESTAMP_PATTERN="^.*pit.*_(ts\d{14,14}).*"
# The format is: <digit><unit>, where unit is "days" or "hours" or "minutes"
RETENTION_PERIOD=5days
Loading

0 comments on commit 81691bc

Please sign in to comment.