lukevers / serverless-offline-msk

A serverless offline plugin that enables AWS MSK events
https://www.npmjs.com/package/serverless-offline-msk
MIT License
4 stars 1 forks source link

Error if lambdaPort differs from the default 3002 #3

Open jchoi2x opened 5 months ago

jchoi2x commented 5 months ago

If you have are using lambdaPort that differs from the default 3002 value then it will error out with the following error message

INVOKE ERR UnknownEndpoint: Inaccessible host: `localhost' at port `3002'. This service may not be available in the `us-east-1' region.                                   

It is caused by this line here

Perhaps it should get this value dynamically?