Category "microservices"

How does "Stateless" Saga Orchestrator handle out of order events

So I've been researching Saga orchestrator design pattern. https://chrisrichardson.net/post/sagas/2019/12/12/developing-sagas-part-4.html Since Chris Richardson

How to connect Kafka consumer to Django app? Should I use a new thread for consumer or new process or new docker container?

I have Django app which should consume Kafka messages and handle it with my handlers and existing models. I use https://kafka-python.readthedocs.io/en/master/us

Ocelot API Gateway error: No connection could be made because the target machine actively refused it

I am trying to build a microservice architecture system using Ocelot as my API Gateway. I have had the current problem for about 2 weeks and have not been able

NestJS microservices error with "No matching message handler"

I'm building an application with microservices communicating through RabbitMQ (request-response pattern). Everything works fine but still I have a problem with

nestjs event-based messaging with 1 producer and 2 consumers

With nestjs microservices, you can send messages and receive the result using request/response-based approach. That is implemented with a combination of @Messag

ABAC with Monorepo Microservices: What is the best approach?

At my work, I have a task to search and find solutions to implement the ABAC authorization in our microservices organized in a monorepo. We have some products a

Documenting the aggregates & relations between microservices

In my organization we're trying to design our microservices based on the Bounded Context (BC) pattern (part of Domain-driven design). While we're doing this we

Gateway-service. 500 Server Error for HTTP GET "/"

I'm having some troubles related to the gateway service in Spring boot. I have the following .yml #spring.profiles.active: local server: port: 80 #ssl:

Hystrix Dashboard keeps loading in Spring boot Microservices

Hystrix dashboard keeps loading as in below image,I have no idea why this is happening. Hystrix stream works fine as in below image, Cloud API Gateway Code Th

Spring cloud Netflix-Hystrix gradle dependency not allowing spring boot application to start

I have built simple microservice application using Spring-Boot and Eureka server. Now, I want to add fault-tolerance in case any of service registered in Eureka

JWT key rotation

I have been thinking and searching many different approaches but I am not sure what is the best solution to solve this problem. Imagine you have 50 microservice

Unable to connect to gRPC server in Kubernetes cluster, but can connect when I port-forward [Connection refused]

Been stuck on this error for the past few days! I have an HTTP server that is meant to connect with the gRPC server through the client. It works fine on my loca

Is rate limiting between different API endpoints of the same service synchronized or separate?

I want to learn the best behavior for implementing a rate limiter. Say I have serviceA and serviceB where serviceA calls API_1 and API_2 in serviceB. Say that s

Zuul multiple wildcards and nested routes

Using Zuul (version 1.3.1) I want to have the following routes config: zuul: routes: serviceA: path: /us/*/a/** serviceId:

How to subscribe AWS Lambda to Salesforce Platform Events

We want to integrate Salesforce into out Micro Service Structure in AWS. There is a article about this here So we want to subscribe lambda to certain platform

org.springframework.web.client.ResourceAccessException: I/O error on GET request for in Microservices

I am developing microservices code from the link : https://github.com/sivaprasadreddy/spring-boot-microservices-series. In this code base, I was successfully ab

Microservice architecture Database rollback

I am having a microserice architecture with multiple services, each containing their own Database, and a Gateway which is considered as the business logic. Gat

What are the advantages of API contracts being consumer driven vs provider driven?

I often read about establishing API contracts, but I'm not sure why it's usually recommended to be consumer driven? Can someone explain what are the advantages/

Using eShopOnContainers .NET microservices architecture - Use AD B2C instead of IdentityServer4 for microservice authentication

I have downloaded eShopOnContainers that is a .NET Microservices Sample Reference Application for microservices architecture and Docker containers. https://gith

NestJS tcp microservice load balance

I have a nestjs app as follows: Gateway - HTTP Microservice1 - TCP (ms1) Microservice2 - TCP (ms2) Gateway calling ms1 and ms2. ms1 and ms2 are the same duplica