Split genserver from service

This commit is contained in:
2024-03-17 22:47:24 +01:00
parent f5ea9dc7cf
commit 207926ed83
3 changed files with 54 additions and 63 deletions

View File

@@ -15,7 +15,7 @@ defmodule KafkaexLagExporter.Application do
{Phoenix.PubSub, name: KafkaexLagExporter.PubSub},
# Start the Endpoint (http/https)
KafkaexLagExporterWeb.Endpoint,
KafkaexLagExporter.ConsumerOffsetFetcher
KafkaexLagExporter.ConsumerOffset
]
# See https://hexdocs.pm/elixir/Supervisor.html