Javablog.com Kafka Integration

In the latest commit, I added an adapter-kafka into my javablog.com/services project. Apache Kafka will implement the TranslationPort in the hexagonal architecture that is evolving in the javablog API. There are two Topics: translation.requests and translation.responses. Javablog.com will write to the requests and Polybit.ch will read the message. Polybit.ch will write to the responses with a completed translation from an LLM. Javablog.com will poll the translation.responses topic every few minutes and persist the translations as they come in.

I put in a lot of effort to get the secure remote Apache Kafka connection stabilized using Keycloak for SASL_SSL/OAUTHBEARER tokens. Since Apache Kafka will live in the same docker network as the JavaBlog.com API, it uses plaintext 9092. Pretty neat.

댓글

댓글은 이 게시글에 대한 피드백용입니다. 일반적인 질문은 Stack Overflow를 이용해 주세요. 댓글은 1년 후 삭제될 수 있습니다.

아직 댓글이 없습니다. 첫 번째로 생각을 공유해 보세요!