streamnative / function-mesh

The serverless framework purpose-built for event streaming applications.
https://functionmesh.io/
Apache License 2.0
210 stars 27 forks source link

Add exit_on_oom=true #744

Closed illegalnumbers closed 2 months ago

illegalnumbers commented 2 months ago

Motivation

Exit the client when it is OOM Killed.

Modifications

Add -Dpulsar.allocator.exit_on_oom=true to common.go

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.

Documentation

Need to update docs?

Internals change resolving a bug.