Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kafka client is timing out in RemixGcnProduction-CircularsTableStreamLambda #2709

Open
lpsinger opened this issue Nov 8, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@lpsinger
Copy link
Member

lpsinger commented Nov 8, 2024

Current behavior

The Kafka client is timing out in the circulars table stream Lambda. Here is an example log output.

timestamp message
1731064812426 INIT_START Runtime Version: nodejs:20.v43 Runtime Version ARN: arn:aws:lambda:us-east-1::runtime:4a87b8fceb008240eb9bfe7dc3126c2dec6fe75f06c6a4d8977d0267eb5da2bd
1731064812979 START RequestId: 28023b61-98bd-4f9f-8616-515b0da1f31d Version: $LATEST
1731064819056 2024-11-08T11:20:19.056Z 28023b61-98bd-4f9f-8616-515b0da1f31d ERROR {"level":"ERROR","timestamp":"2024-11-08T11:20:19.056Z","logger":"kafkajs","message":"[Connection] Connection timeout","broker":"kafka3.gcn.nasa.gov:9092","clientId":"kafkajs"}
1731064820195 2024-11-08T11:20:20.195Z 28023b61-98bd-4f9f-8616-515b0da1f31d ERROR {"level":"ERROR","timestamp":"2024-11-08T11:20:20.195Z","logger":"kafkajs","message":"[Connection] Connection timeout","broker":"kafka1.gcn.nasa.gov:9092","clientId":"kafkajs"}
1731064820954 2024-11-08T11:20:20.954Z 28023b61-98bd-4f9f-8616-515b0da1f31d ERROR {"level":"ERROR","timestamp":"2024-11-08T11:20:20.954Z","logger":"kafkajs","message":"[Producer] Failed to send messages: Connection timeout","retryCount":0,"retryTime":251}
1731064822294 END RequestId: 28023b61-98bd-4f9f-8616-515b0da1f31d
1731064822294 REPORT RequestId: 28023b61-98bd-4f9f-8616-515b0da1f31d Duration: 9314.39 ms Billed Duration: 9315 ms Memory Size: 256 MB Max Memory Used: 129 MB Init Duration: 550.96 ms

Expected behavior

Kafka client should time out rarely or not at all.

Steps to reproduce

Refer to CloudWatch logs.

Environment

N/A - AWS.

@lpsinger lpsinger added the bug Something isn't working label Nov 8, 2024
@jracusin jracusin added this to GCN Nov 12, 2024
@jracusin jracusin moved this to In Progress in GCN Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: In Progress
Development

No branches or pull requests

3 participants