
Publish a Protobuf event to an Amazon EventBridge Custom Event Bus, decoded against an AWS Glue Schema Registry, and deliver it as JSON to AWS Lambda.
PutRawEvents together with an AWS Glue Schema Registry, and then deliver that same event to an AWS Lambda subscriber.OrderPlaced event from a .proto definition and wraps it in the AWS Glue wire format, including the message index that tells AWS Glue which message type to decode. Amazon EventBridge decodes the Protobuf against the AWS Glue registry server-side and delivers the payload as plain JSON, so the consumer AWS Lambda function needs no Protobuf library and simply logs the event to Amazon CloudWatch. A matching orderId, fields, and metadata prove the delivered event equals the one that was published.This pattern is available in the following frameworks/languages:
git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/eventbridge-custom-protobuf/java/samsam buildsam deploy --guided --capabilities CAPABILITY_NAMED_IAMsam delete