spring-projects/spring-integration-aws

How to retrieve UserRecordResult after a successful write to Kinesis stream

Closed this issue · 1 comments

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;
	}