cookie-cutter
cookie-cutter copied to clipboard
An opinionated micro-services framework for TypeScript
Yarn 2 was [recently released](https://dev.to/arcanis/introducing-yarn-2-4eh1) with various updates that we would benefit from. Let's migrate over to it as part of CC 1.3 and also consider if there are other...
https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels mentions that metric names and labels follow the regex `[a-zA-Z_:][a-zA-Z0-9_:]*` but cookie-cutter allows the user to input non-valid characters such as `.`
We have a service that is reading from two kafka topics on the same kafka cluster using two different consumer groups. This is needed because topics are encoded differently. It's...
The Kafka client receives 'Specified group generation id is not valid' when a broker restarts and the client is then trying to fetch from the restarted broker with the old...
Improve error message from Kafka module by adding topic/partition/offset information to errors specific to messages Example ``` {"log":{"time":"2019-11-20T14:36:25.908Z","level":"EROR","ctx":"XXX","fields":{"msg":["received invalid message from Kafka"],"type":[null],"err":["cannot find encoder for type name 'undefined' for current...
Kafkajs supports multiple types of compressions methods when producing msgs. We currently default to no compression but we should expose LZ4 and Snappy compressions options on the producer side since...
If a grpc service has a validateJS configured and an invalid message comes it, it would be nice if CC returns a `grpc.status.INVALID_ARGUMENT` with the validation error as message. This...
Currently when an error is thrown from a gRPC handler, [GrpcInputSource](https://github.com/walmartlabs/cookie-cutter/blob/91a2762a754c9552d3c7490e5470d92b30158fd6/packages/grpc/src/internal/GrpcInputSource.ts#L175) treats the error as generic Error type and returns as `UNKNOWN_ERROR`. But grpc api has a richer error definition...
gRPC package throws an UNIMPLEMENTED error error when a function does not return a value back when it expects to return a value back. Unimplemented error is confusing since the...
We have a service consuming from kafka which stopped consuming and was not failing. All we saw in logs that Kafkajs crashed because co-rodinator is loading. It crashed multiple times...