Skip to content

Commit

Permalink
fix: typo to trigger build
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneD committed Dec 5, 2024
1 parent 89e11ba commit ba56e5c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ParcelRegistry.Consumer.Address/BackOfficeConsumer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public sealed class BackOfficeConsumer : BackgroundService
private readonly IDbContextFactory<BackOfficeContext> _backOfficeContextFactory;
private readonly IParcels _parcels;
private readonly ILoggerFactory _loggerFactory;
private readonly IIdempotentConsumer<ConsumerAddressContext> _kafkaIdemIdompotencyConsumer;
private readonly IIdempotentConsumer<ConsumerAddressContext> _kafkaIdompotencyConsumer;
private readonly ILogger<BackOfficeConsumer> _logger;

public BackOfficeConsumer(
Expand All @@ -29,14 +29,14 @@ public BackOfficeConsumer(
IDbContextFactory<BackOfficeContext> backOfficeContextFactory,
IParcels parcels,
ILoggerFactory loggerFactory,
IIdempotentConsumer<ConsumerAddressContext> kafkaIdemIdompotencyConsumer)
IIdempotentConsumer<ConsumerAddressContext> kafkaIdompotencyConsumer)
{
_lifetimeScope = lifetimeScope;
_hostApplicationLifetime = hostApplicationLifetime;
_backOfficeContextFactory = backOfficeContextFactory;
_parcels = parcels;
_loggerFactory = loggerFactory;
_kafkaIdemIdompotencyConsumer = kafkaIdemIdompotencyConsumer;
_kafkaIdompotencyConsumer = kafkaIdompotencyConsumer;

_logger = loggerFactory.CreateLogger<BackOfficeConsumer>();
}
Expand All @@ -55,7 +55,7 @@ protected override async Task ExecuteAsync(CancellationToken stoppingToken)

try
{
await _kafkaIdemIdompotencyConsumer.ConsumeContinuously(async (message, context) =>
await _kafkaIdompotencyConsumer.ConsumeContinuously(async (message, context) =>
{
await HandleMessage(commandHandlingProjector, commandHandler, message, backOfficeProjector, context);
}, stoppingToken);
Expand Down

0 comments on commit ba56e5c

Please sign in to comment.