Run Kafka locally
Prerequisites
How to run Kafka locally
- Open a terminal.
- Go to
<Solution's root>/various/files/orchestration/kafka/. (Probably withcd) - Run
make run.
Ensure that ports
8080,8082,9093and9094are free before running it.
How to run the Listener
Local setup
-
Go to file
People.Application.Services.EventHubsService.EventHubsService.csline357and remove the following code:#if DEBUGreturn true;#endif -
Run the listener.
Talos Test setup
-
Change the
local.settings.json.The required values are comments in the file itself.
-
Run
az login --tenant "74566a7f-3d73-4abd-bebb-ece0c2e1ad4f" --scope "https://management.core.windows.net//.default"to login to AADE tenant. -
Go to file
People.Application.Services.EventHubsService.EventHubsService.csline357and remove the following code:#if DEBUGreturn true;#endif -
Go to each KafkaTrigger inside of namespace
People.Talos.Esb.Listener.Functionsand change#if DEBUGto#if !DEBUG -
Run the listener.
Need to setup Azure VPN.