An application for Free TON event monitoring. Listens to Kafka queue and passes information to a consumer webhook.
- Can be hosted in Azure Functions which brings to you a lot of bonuses like:
- High availability
- Vertical / Horizontal scaling
- Cheap prices (no need to host whole server)
- Different distribution channel support like APNS / FCM etc
- Easy deploy using Azure Resource Manager (ARM) templates
- Azure Table Storage - for information storage
- Polly - to retry failed messages
- Azure Functions (Kafka consumer & Http listeners)
- Create file NotificationProvider.Functionslocal.settings.json
if it doesn't exists
- Put AzureTableStorage_ConnectionString
and KAFKA_PASS
under Values
section, like:
{
...
"Values": {
...
"AzureTableStorage_ConnectionString": "DefaultEndpointsProtocol=https;AccountName=acc;AccountKey=keykey;EndpointSuffix=core.windows.net",
"KAFKA_PASS": "S0m3str0ngP4sSw0rd"
}
- Open NotificationProvider.sln
in Visual Studio
- Right click on AzureResourceGroup
project -> Deploy
- Fill in necessary information
TBD