Dynamo Inbox
Usage
private static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureServices(hostContext, services) =>
{
ConfigureBrighter(hostContext, services);
}
private static void ConfigureBrighter(HostBuilderContext hostContext, IServiceCollection services)
{
var dynamoDb = new AmazonDynamoDBClient(credentials, new AmazonDynamoDBConfig { ServiceURL = "http://dynamodb.us-east-1.amazonaws.com"; });
services.AddConsumers(opt =>
{
opt.Inbox = new InboxConfiguration(new DynamoDbInbox(dynamoDb, new DynamoDbInboxConfiguration()));
...
});
}
...
Last updated
Was this helpful?
