# Packages

No description provided by the author

# Functions

AddResponseToDB : Updates response to DB.
CliCtxFromKafkaMsg : sets the transaction and cli contexts again to consume.
GetResponseFromDB : gives the response from DB.
KafkaAdmin : is admin to create topics.
KafkaProducerDeliverMessage : delivers messages to kafka.
KafkaTopicConsumer : Takes a consumer and makes it consume a topic message at a time.
NewConsumer : is a consumer which is needed to create child consumers to consume topics.
NewKafkaMsgFromRest : makes a msg to send to kafka queue.
NewKafkaState : returns a kafka state.
NewProducer is a producer to send messages to kafka.
PartitionConsumers : is a child consumer.
QueryDB : REST outputs info from DB.
Register concrete types on codec.
SendToKafka : handles sending message to kafka.
SetTicketIDtoDB : initiates ticketID in Database.
TicketIDGenerator is a random unique ticket ID generator, output is a string.
TopicsInit : is needed to initialise topics.

# Variables

DefaultCLIHome : is the home path.
module codec.
SleepRoutine : the time the kafka messages are to be taken in.
SleepTimer : the time the kafka messages are to be taken in.
TicketIDAtomicCounter is a counter that adds when each time a function is called.
Topics : is list of topics.

# Structs

KafkaCliCtx : client tx without codec.
KafkaMsg : is a store that can be stored in kafka queues.
KafkaState : is a struct showing the state of kafka.
TicketIDResponse : is a json structure to send TicketID to user.

# Type aliases

Ticket : is a type that implements string.