-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
src/Ports/NetSampleArch.Ports.Consumers/Consumers/Commands/PersonCreatedEventHandler.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using System.Threading; | ||
using System.Threading.Tasks; | ||
using Confluent.Kafka; | ||
using NetSampleArch.Infra.CrossCutting.Bus.Interfaces; | ||
using NetSampleArch.Infra.CrossCutting.Configuration; | ||
using NetSampleArch.Ports.Consumers.Interfaces.Commands; | ||
using Serilog; | ||
|
||
namespace NetSampleArch.Ports.Consumers.Consumers.Commands | ||
{ | ||
public class PersonCreatedEventHandler | ||
: BaseKafkaConsumer<PersonCreatedEventHandler>, IPersonCreatedEventHandler | ||
{ | ||
public PersonCreatedEventHandler(ILogger logger, IBus bus, Configuration configuration) | ||
: base(logger, bus, configuration) | ||
{ | ||
|
||
} | ||
|
||
public override Task MessageReceivedAsync(ConsumeResult<Ignore, string> receivedMessage, CancellationToken cancellationToken) | ||
{ | ||
throw new System.NotImplementedException(); | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
src/Ports/NetSampleArch.Ports.Consumers/Interfaces/Commands/IPersonCreatedEventHandler.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace NetSampleArch.Ports.Consumers.Interfaces.Commands | ||
{ | ||
public interface IPersonCreatedEventHandler : IKafkaConsumer | ||
{ | ||
|
||
} | ||
} |