'How to subscribe Fanout Consumer using .Net
I am trying to create a .NET C# version of the Enhanced Fan-Out Consumer following the Java example provided in AWS's documentation. I am having difficulty converting the following Java version into .NET version. Can anyone help me with the equivalent code in C#?
KinesisAsyncClient client = KinesisAsyncClient.create();
SubscribeToShardRequest request = SubscribeToShardRequest.builder()
.consumerARN(CONSUMER_ARN).shardId(SHARD_ID)
.startingPosition(s -> s.type(ShardIteratorType.LATEST)).build();
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
