package Ġcom . w es ley f uch ter . bank account . transaction Ċ Ċ import Ġio . small ry e . reactive . messaging . kafka . Kafka Record Ċ import Ġorg . eclipse . micro profile . reactive . messaging . Incoming Ċ import Ġorg . eclipse . micro profile . reactive . messaging . Outgoing Ċ import Ġjava . util .* Ċ import Ġjava . util . logging . Logger Ċ import Ġjavax . enterprise . context . Application Scoped Ċ Ċ @ Application Scoped Ċ class ĠTransaction Outgoing Producer Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġlog Ġ= ĠLogger . getLogger (" Transaction Outgoing Producer ") ĊĊĠĠĠ Ġ@ Incoming (" transactions ") ĊĠĠĠ Ġ@ Outgoing (" transactions ") ĊĠĠĠ Ġfun Ġproduce ( transaction : ĠTransaction ): ĠKafka Record < String , ĠTransaction > Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ ĠKafka Record . of ( UUID . randomUUID (). toString (), Ġtransaction ). also Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġlog . info (" Sending Ġtransaction Ġwith Ġdescription Ġ${ transaction . description }") ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} Ċ Ċ } ĊĊ