pub fn create_consumer_structure(project_path: &Path) -> Result<()>Expand description
Create the Consumer Architecture directory structure
Creates all necessary directories for a Consumer (event handler) service:
src/- Source code rootsrc/domain/- Domain layer (events, handlers)src/application/- Application layer (consumer orchestration)src/infrastructure/- Infrastructure layer (broker, idempotency, health)tests/- Integration tests
§Arguments
project_path- Root path where the project directories will be created
§Errors
Returns an error if any directory creation fails