How to retrieve UserRecordResult after a successful write to Kinesis stream
artembilan opened this issue · 1 comments
artembilan commented
See more info in the spring-cloud/spring-cloud-stream-binder-aws-kinesis#221
artembilan commented
Have just pushed the fix.
Please, give a shot to 3.0.8-SNAPSHOT
on your side and cast AwsHeaders.SERVICE_RESULT
heade into a new UserRecordResponse
.
It has all the expected properties:
public String shardId() {
return this.shardId;
}
public String sequenceNumber() {
return this.sequenceNumber;
}
public List<Attempt> attempts() {
return this.attempts;
}