Benzene Cookbooks

Practical recipes for common real-world scenarios using Benzene.

What are Cookbooks?

Cookbooks are step-by-step guides that show you how to solve specific problems with Benzene. Each cookbook focuses on a single use case and provides complete, copy-pasteable code that you can adapt to your needs.

Available Cookbooks

Observability

AWS

Azure

Validation & Error Handling

Data & Persistence

Configuration & Secrets

Testing

Orchestration

Cross-Cutting Concerns

Cookbook Structure

Each cookbook follows this structure:

  1. Problem Statement - What you're trying to achieve
  2. Prerequisites - What you need before starting
  3. Step-by-Step Implementation - Detailed walkthrough with code
  4. Testing - How to verify it works
  5. Troubleshooting - Common issues and solutions
  6. Variations - Alternative approaches or extensions
  7. Further Reading - Related docs and resources

Request a Cookbook

Don't see a cookbook for your use case? Open an issue describing:

Contributing

Want to contribute a cookbook? Check the Contributing section of the main README and submit a PR following the cookbook template.