# Functions
EventExists will check to see if an event has already been processed.
HandleError will publish an error event to Kafka.
Health returns a HTTP 200 status code indicating the service is alive.
InsertEvent will insert a row into the processed_events table to indicate an event was processed.
NewDB returns a default localhost reference to a DB.
ReceiveOrder handler will accept an order, validate the payload and publish an OrderReceived event to Kafka.
Root returns a HTTP 200 status code.