I am using the com.amazonaws:amazon-kinesis-producer:0.15.9 library.
When publishing events to Kinesis, we intermittently encounter a std::bad_alloc error, which causes events to be lost.
What could be the cause of this issue?
• Why does this error occur?
• What are the possible solutions to prevent this from happening?