FAQ Database Discussion Community


AWS Kinesis write throughput has no data, but there are data in total incoming request

amazon-web-services,amazon-kinesis,data-stream
Hi I'm using Kinesis to handle data streaming. I can successfully send data to Kinesis and pull data from Kinesis, everything is good. However, when I check the "monitoring" of Kinesis, I see no data for write throughput, but there are data for total incoming request (in attached screenshot). Since...

Add ByteArray to integer

java,bytearray,bytebuffer,data-stream
In the following java code-snippet you'll see this line packetLengthMax += bytes.toByteArray()[43]; My question is: How does this work? byte[] dataBuffer = new byte[265]; int packetLength = 0; int packetLengthMax = 44; ByteArrayOutputStream bytes = new ByteArrayOutputStream(); DataOutputStream outMessage = new DataOutputStream(bytes); /* Client = Socket*/ DataInputStream clientIn = new...