skip to Main Content

Why isn't KenisisClient.putRecord() not accepting a valid PutRecordRequest – Amazon Web Sevices

Here is my code KinesisClient kinesisClient = KinesisClient.builder().build(); PutRecordRequest putRecordRequest = new PutRecordRequest(); putRecordRequest.setStreamName("stream-name"); putRecordRequest.setPartitionKey("SomeString-" + UUID.randomUUID()); putRecordRequest.setData(ByteBuffer.wrap(data)); PutRecordResponse putRecordResponse = kinesisClient.putRecord(putRecordRequest); For some strange reason it's saying it can't resolve the putRecord(PutRecordRequest) method even though it's clearly there when…

VIEW QUESTION
Back To Top
Search