io.keyko.monitoring.examples.config.application.conf Maven / Gradle / Ivy
applicationId = "web3-monitoring-streamer"
kafka {
bootstrap-server = "localhost:9092"
create-topics = true
topics {
event-topic = "w3m-events"
view-topic = "w3m-views"
block-topic = "w3m-blocks"
log-topic = "w3m-logs"
log-etherscan-not-match-topic = "w3m_event_etherscan_not_matching"
event-block-topic = "w3m-event-block"
flat-event-topic = "w3m-flat-events"
alert-topic = "w3m-alerts"
}
}
schema-registry {
url = "http://localhost:18081"
}
etherscan {
url = "https://api.etherscan.io/api"
contract = "?module=contract&action=getsourcecode&address=${address}&apikey=${apikey}"
apikey = ""
sendNotMatchToTopic = true
cache {
enabled = true
expiry-time = 24 // hours
use-mongodb-store = true
mongodb-url = "mongodb://localhost:27017/cache"
in_memory_max_size = 1000000000 // 1 GB
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy