Why does serverless come with a kafka library? It's causing slow npm install

I’m using the latest version of serverless. When running an npm install in a corporate environment it takes a long time because it’s trying to download who knows what for the “snappy” library.

Digging deeper, “snappy” appears to be a dependency of “node-kafka”

I’m completely puzzled as to why the serverless framework is bringing in a kafka library… why is this?

I looked up the word kafka in the github repository of serverless and came across a few files and this documentation page: https://github.com/serverless/serverless/blob/4ba4b81e746fc7f59457d2f9ca74b90371979643/docs/providers/aws/events/msk.md

Thanks for bringing this to our attention - it’s being brought by one of the indirect dependencies.