9,308 questions
0
votes
0
answers
17
views
Support Multiple JSON Ocelot API Gateway
I have multiple microservices, and I am trying to merge them using Ocelot API Gateways. I have created different JSON files for each microservice and I'm adding them using the code below. However, it'...
Advice
6
votes
7
replies
347
views
What are the kinds of practical difficulties you've run into when implementing Microfrontends?
Our current codebase exists as a monolithic .NET application. The many years of legacy has made it difficult for our engineers to make changes and we're looking to Strangler Fig our way out of a Big ...
-1
votes
0
answers
37
views
Right redis cluster caching mechanism with spring boot microservices
I'm working with Spring Boot Microservice project.
For now i have used redis per microservice. I want to use redis cluster and have one microservice for caching data throw messaging system. I want to ...
0
votes
0
answers
38
views
FiegnClient vs RestTemplate [duplicate]
How I will get to know when to use OpenFeign client & When to use RestTemplate for microservice synchronous communication? When I have both options available then based on what aspect I need to ...
0
votes
0
answers
58
views
Django Testing in microservices with more than 1 db running
I would like to ask about a certain topic that is tough one. Im working in a project that has microservices architecture with more than 1 databases running every time. in django, how can I perform ...
1
vote
2
answers
95
views
How to separate a pure domain object from its JPA implementation in a microservice architecture?
I’m refactoring a microservice and I need to move one of my domain objects into an external shared dependency (library).
Currently, this domain object is annotated with JPA (@Entity, @Id, etc.).
...
0
votes
0
answers
45
views
Redirect issue with Identity Provider hosted in Docker
TLDR:Dockerised app redirects me to docker network URL instead of localhost.
Objective: Redirect user to identity provider (localhost:6067) while communicating with it at (mcro.identity) from Razor ...
0
votes
1
answer
40
views
CQRS EDA Microservices - event consumption from other bounded contexts
In a system consisting of many CQRS (Command API + Query API) microservices (bounded contexts) that communicate via events on an event bus. Which API (Command or Query) should consume the events from ...
1
vote
0
answers
74
views
MongoRepository bean not found when repository is in external JAR dependency
My microservice uses an external dependency which is a JAR build by my company.
I can't figure why the bean is not found.
***************************
APPLICATION FAILED TO START
***********************...
-3
votes
1
answer
109
views
How to start Quarkus application with maven [closed]
I am trying to run Quarkus application. I have about 20 separate Quarkus applications and each one is built as a JAR file using Maven.
I'm trying to figure out the best way to run all of them locally ...
-2
votes
1
answer
142
views
Microservices Architecture Decision: Entity based vs Feature based Services
I'm architecting my first microservices system and need guidance on service boundaries for a multi-feature platform. Building a Spring Boot backend that encompasses three distinct business domains:
...
0
votes
1
answer
195
views
How to apply multi-tenant filtering (e.g., hospitalId) using Hibernate filters with Spring Data JPA in the same database and schema?
I’m building a multi-tenant Spring Boot application where all tenants share the same database and schema, but data is separated by a hospital_id column in each table.
Here’s my setup:
Same database
...
0
votes
0
answers
31
views
Jhipster timestamp fails test always
This issue has persistsed for over 5 days. I only want to generate gateaway and microservice using this JDL file
application {
config {
baseName gateway
packageName com.christdoes.gateway
...
-2
votes
1
answer
127
views
How to share files between two microservice in both cloud and on-prem setups? [closed]
In my existing monolith application, I generate files that need to be sent as email attachments. I've started moving to a microservices architecture, where an event is raised via RabbitMQ to trigger ...
0
votes
0
answers
35
views
Separation of entities when using msa (Unused column value)
I'm working on separating services. But there's something I'm not sure about.
When separating services, it is difficult to separate entity values.
For example)
Here is a part of my item entity.
@...
1
vote
0
answers
305
views
How to configure Keycloak in Docker without issuer mismatch?
I'm building an app that follows a microservice architecture – mainly to learn how to set up microservices the right way.
Right now, I'm running both Keycloak and my auth service in separate Docker ...
0
votes
0
answers
185
views
How to configure Keycloak to publish events to Kafka?
I'm developing a backend application divided into microservices and, for performance reasons, I need to duplicate some of the user's data (like his id and username) across every microservice with ...
5
votes
1
answer
166
views
Cannot read request body from HttpServletRequest when Content-Type is multipart/mixed
Below code handles the incoming API calls:
@RequestMapping(value = "**")
void process(HttpServletRequest request, HttpServletResponse response) throws IOException {
if (request....
0
votes
2
answers
264
views
CORS strict-origin-when-cross-origin
I seem to be running into some issues with my CORS configurations. I am using Keycloak for my authentication. All of my endpoints are redirected to a login page, with an error 302 (Found). When I ...
0
votes
1
answer
164
views
How can I efficiently share schemas and utils between micro services in a monorepo approach
Hi I am trying to build live prediction with the YOLO. The goal is to stream the data with some kind of transformation from the inference to a final frontend.
The flow should be like this:
model ...
0
votes
0
answers
120
views
Deserialization Errors in Spring Kafka for byte Array Despite Proper Serializer Configuration
I am new to Kafka & trying to make a decent project for my resume. So in a multi-service (microservices running on docker) model in which I'm developing multiple Spring Boot applications, two of ...
0
votes
0
answers
44
views
Testing interaction between two web services
I'm learning integration tests on very simple example.
Specs:
I have 2 .Net Core apps: App1 and App2.
App1 uri: "http://localhost:1111",
App2 uri: "http://localhost:2222"
Scenario:
...
1
vote
0
answers
93
views
How to save data which are dependent in different microservices using springboot
I have two microservices(for now) Movie, Show
MovieEntity.java
@Entity
@Table(name = "MOVIES")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ...
0
votes
0
answers
218
views
How to Reduce the Size of a Nest.js Docker Container Built with a Multi-Stage Dockerfile? [duplicate]
I'm using a multi-stage Dockerfile to build and run my Nest.js application in a Node.js container. However, the final container size is around 600 MB, and I’d like to reduce it further.
# Build stage
...
0
votes
0
answers
37
views
Microservice Discovery-server initalization problem
I set the application.yml files for configuration server and discovery server. When I start to run config-server, it is started with any error. However, discovery server does not do. It gives some ...