8 Pulsar Functions patterns

 

This chapter covers

  • Designing an application based on Pulsar Functions
  • Implementing well-established messaging patterns using Pulsar Functions

In the previous chapter, I introduced a hypothetical food delivery service named GottaEat and outlined the basic order entry use case in which customers place orders with the company’s mobile application. As you may recall, the first microservice in that process was the OrderValidationService, which is responsible for ensuring that the order is valid before forwarding the order to the drivers for delivery if it is valid or notifying the customer of any errors with the order.

8.1 Data pipelines

8.1.1 Procedural programming

8.1.2 DataFlow programming

8.2 Message routing patterns

8.2.1 Splitter pattern

8.2.2 Dynamic router pattern

8.2.3 Content-based router pattern

8.3 Message transformation patterns

8.3.1 Message translator pattern

8.3.2 Content enricher pattern

8.3.3 Content filter pattern

Summary