Class KplBackpressureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.awspring.cloud.kinesis.integration.KplBackpressureException
- All Implemented Interfaces:
Serializable
An exception triggered from the
KplMessageHandler while sending records to Kinesis when maximum number of
records in flight exceeds the backpressure threshold.- Since:
- 4.0
- Author:
- Siddharth Jain, Artem Bilan
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionKplBackpressureException(String message, software.amazon.kinesis.producer.UserRecord userRecord) -
Method Summary
Modifier and TypeMethodDescriptionsoftware.amazon.kinesis.producer.UserRecordGet theUserRecordwhen this exception has been thrown.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
KplBackpressureException
public KplBackpressureException(String message, software.amazon.kinesis.producer.UserRecord userRecord)
-
-
Method Details
-
getUserRecord
public software.amazon.kinesis.producer.UserRecord getUserRecord()Get theUserRecordwhen this exception has been thrown.- Returns:
- the
UserRecordwhen this exception has been thrown.
-