Java nodo-re-to-datastore Azure Function. The function aims to dump RE sent via Azure Event Hub to a CosmosDB, with a TTL of 120 days, and to an Azure Table Storage with a TTL of 10 years.
docker build -t pagopa-functions-nodo-re-to-datastore .
docker run -it -rm -p 8999:80 pagopa-functions-nodo-re-to-datastore
curl http://localhost:8999/example
mvn clean package
mvn azure-functions:run
curl http://localhost:7071/example