dsietz / daas-sdk

Software Development Kit for building out systems that follow the DaaS pattern
1 stars 0 forks source link

add data processor trait and example to the SDK #20

Closed dsietziapp closed 4 years ago

dsietziapp commented 4 years ago

The traits have been created in the service::processor module.

dsietziapp commented 4 years ago

Need to make sure that the messages taken off the broker are not committed as consumed until they are flagged as "processed"

dsietziapp commented 4 years ago

examples are working: NOTE: Kafka broker must be running with automatic topic creation turned on.

  1. start listener RESTful service cargo run --example daas-listener
  2. start genesis processor cargo run --example genesis
  3. start processor for managing orders that are for clothing cargo run --example order-clothing
  4. Using the Postman collection for this example, make the POST call while changing the "status' in the json object in the payload.