Questions tagged [microservices]

An architectural approach to developing a single application as a suite of small individually deployable services.

2
votes
0answers
6 views

Duplicate request with Kong or Traefik

I'm need send with Kong (Community Edition) one webhook ( request ) for two apis. The problem is i use one webhook of third parties, and can only specific one URL ( this not negotiation ). I use in ...
1
vote
0answers
26 views

How to load balance a spring boot micro service database application

I have been doing research on micro services. I have used spring boot seeing how simple it is to start with. During my research i have read that is a good approach that every micro service, that is ...
0
votes
0answers
8 views

How to get the zipkin version

Is there any CURL to get the latest available zipkin version and another CURL to get the currently running version in my local environment ? I have to do a version comparison on currently running ...
0
votes
0answers
10 views

How can i plot totpology of microservices by instrumenting the request headers

After a long searching,I came to know that to plot top0logy of multiple micro-services (like a service topology to show graphically ho the different micro-services are communicating with each other) ...
1
vote
1answer
25 views

How do you generate HATEOAS links in distributed REST service architectures?

I'm new to REST and doing a lot of research right now to consider migrating an internal monolithic service architecture to something leaner and more distributed. I'm having a bit of trouble wrapping ...
4
votes
2answers
24 views

Microservices - Is event store technology (in event sourcing solutions) shared between all microservices?

As far as my little current experience allows me to understand, one of the core concepts about "microservice" is that it relies on its own database which is independent from other microservices. ...
0
votes
0answers
17 views

Global/shared session

I'm new in spring-cloud ecosystem and try to setup micro services based application/s. My setup is look like as followed: api-gateway - using zuul and OAuth2Sso - session enabled (as need of ...
0
votes
0answers
23 views

Using a single nginx for different projects

I have the following setup: web1: django application web2: flask application nginx: web frontend to serve web1 and web2 web1 and web2 are themselves complex projects, with several services (db, ...
0
votes
2answers
25 views

Database architecture for micro services

As I heard most of the time that in micro services architecture, for every single micro service we have to create individual database. But if I have to maintain foreign key constraint across the ...
1
vote
1answer
28 views

API Gateway converting synchronous call to asyncronous

I have two services that must be integrated with minimum changes on both systems: First system provides a way to send a command by using Azure Service Bus Queue. When the command is processed it ...
1
vote
1answer
33 views

Maintain a file that exist in multiple repository

We have gradle.properties that exist in 15 microservices repo. If we(devops) need to change a property, we need to go all through that microservices, commit changes and push. How to deal with this ...
1
vote
1answer
33 views

SAAS Application Architecture Microservices vs Monolithic

We are building an app for ecommerce sellers to visualise their data in a graphical manner from sales, advertising campaigns & some other metrics. I can break app components in three different ...
-1
votes
1answer
38 views

Create microservices with NodesJS , mongoDB [on hold]

Currently I am working on a project that requires to create microservices in nodejs project. The project almost complete but I didn't know how I should actually start creating the microservices.I have ...
1
vote
2answers
45 views

Sequelize many to many table in different microservice

I have two microservices one microservice have his database with the user table, the other microservice have his database with the groups table. There are many users and each user can belong to many ...
0
votes
2answers
30 views

Vapor Swift Client for a Message Queue / RabbitMQ

I'm having a play with Swift Vapor and want to build a web API using microservices. What's the best way for sending messages between microservices built with Vapor and a message queue such as ...
1
vote
0answers
17 views

Oauth2 and Microservices

Throughout this afternoon, I tried to implement a micro service architecture without success. The great problem is the security. I read the Oauth2 doesn't work with Spring cloud unless your ...
0
votes
4answers
43 views

Learning DDD and CQRS

I'm new to DDD and CQRS and I'm planning to build a simple application to improve my skills a bit. What I'm planning to do is a simple Taxi Corp application. Requirements: Client orders a taxi. ...
0
votes
1answer
26 views

POD Definition - Deploying to DC/OS

I'm new to DC/OS and I have been really struggling trying to deploy a POD. I have tried the simple examples provided in the documentation but the deployments remain stuck in the deploying stage. ...
0
votes
0answers
17 views

How to prevent Zuul from sending errors (HTTP 504 or HTTP 0)

I'm building an application with components like Zuul, Microservices, a web client which calls API through Zuul, ... But Zuul always send a post.SendErrorFilter (HTTP 504) at the first call, not ...
0
votes
2answers
23 views

Google Cloud No 'Access-Control-Allow-Origin' header is present on the requested resource

I created a REST API and uploaded it to Google Cloud. When I try to access from another domain, it gives the following error: Cross-Origin Request Blocked: The Same Origin Policy disallows reading ...
2
votes
1answer
36 views

How to set timeout value for Spring Boot Configuration server

I have a simple setup for with with spring boot ConfigServer and a client service which is calling the ConfigServer to get the configuration prop file details from GIT. My Config server is working ...
0
votes
0answers
16 views

Tools for Monitoring Rabbitmq based Message Driven Microservices

I have 6 microservices communicating via RabbitMQ. My services are not based on cloud and I'm not using containerization. My questions: 1- Which tools (like Logstash, Kibana, etc.) do I need to ...
0
votes
0answers
22 views

Connection refused from Java feign client

I have a simulator for one of the microservice that I am consuming . Both my microservice and the simulator are deployed on local host and I am able to invoke the simulator from curl but when it is ...
0
votes
0answers
10 views

Soap Based microservices Are accessed through zuul API gateway and need be authenticated based on SOAP Headers

Spring cloud based Soap microservices Are accessed through zuul filter and need be authenticated based on SOAP Headers and in case of authentication failure soap respose with error code. Below is ...
0
votes
1answer
18 views

MassTransit. Consume equal objects defined in different namespaces

First of all, excuse my English, it's very bad. I am using MassTransit with Azure Service Bus for asynchronous communication between microservices. By their own definition, and to avoid generating ...
1
vote
1answer
31 views

How to handle REST call from UI to API in microservices

We have started implementing our monolith to microservices architecture. We have figured out even driven message queues are durable than REST APIs. However, we are stuck with a basic question. For ...
1
vote
1answer
33 views

Sharing database relations across micro-services with Django rest framework

I have two django REST API projects which I have decoupled them into micro services architecture, one of the services is an (SSO) that handles authentication (I'm using JWT token based authentication) ...
0
votes
0answers
18 views

Handle different version of microservices

My vendor can log in to a master management system (System A) which manage multiple subscriptions of a SaaS (System B). Each System B is hosted separately on an isolated server. System A and system B ...
1
vote
1answer
29 views

How to merge/consolidate responses from multiple RESTful microservices?

Let's say there are two (or more) RESTful microservices serving JSON. Service (A) stores user information (name, login, password, etc) and service (B) stores messages to/from that user (e.g. sender_id,...
1
vote
2answers
24 views

Is it better to subscribe to changes or a full data set?

Let's say that I have two services A and B. Service A has a set of items like [ "foo", "bar" ] and is the service responsible for bringing the items into the system. Service B needs to subscribe to ...
-1
votes
1answer
19 views

Multiple Facade Layer in micro-services [on hold]

I am working on micro-services architecture. Currently we have around 15 micro-services and one Facade Layer for Aggregation. Now we are thinking of having multiple API Facades instead of just one ...
1
vote
1answer
28 views

Microservices: Should I arrange my spring project structure by entities or by MVC pattern structure?

When building micro-services for a huge system that can be clearly broken down into sub-domains, should I structure my spring boot java folders by: entities it serves MVC folder structure Example ...
0
votes
1answer
28 views

Ocelot API Gateway - Best url template to assign microservices?

We have a number of microservices in our company. We also use the Api Gateway pattern to route these microservices, which in fact we used Ocelot for this. What is the best Url format for applying to ...
1
vote
2answers
29 views

How to Store Every request in same file

I am creating one service without using database. I am storing all my request data in file system. But the issue is on every request it is creating the new file again and again but i want to put ...
1
vote
1answer
14 views

The import de.codecentric.boot.admin.server.config.EnableAdminServer cannot be resolved

I am developing the Microservices code by taking reference from https://github.com/spring-petclinic/spring-petclinic-microservices. I was able to successfully run all the modules, but I'm getting the ...
-1
votes
1answer
32 views

Microservices + Project in Intellij + Bitbucket

I'd like to ask you about the structure of the project in Intellij. I'd like to create my first web application based on microservices architecture. I'd like to see all microservices in one project ...
0
votes
1answer
31 views

DotnetCore service for auth

I am working on a bigger project, but the main idea and issue is that I want to create micro services, as follows. 1) I want to create an application that handles Login/Register (with JWT) 2) I have ...
0
votes
0answers
14 views

c# Grpc Client Not able to connect to Grpc Server hosted in docker(for windows) container on localhost

I have made a simple Grpc Greeter Service along with a client. When the service is hosted on localhost, client is able to call the rpc and receive the response. But when the Service is running inside ...
0
votes
2answers
42 views

GraphQL field resolver needs contextual information

Maybe my terminology is not accurate. I'm using AWS AppSync. My schema: type Book { title: String author: Author } type Author { name: String } type Query { getBook(title:String!): Book } ...
0
votes
0answers
18 views

MicroProfile and Wildfly Swarm time to rebuild in development environment

We are working in a micro service project using MicroProfile and Wildfly Swarm, and we are having a problem in the development enviroment with the build time, it's taking over 3 minutes and every ...
0
votes
1answer
29 views

How Jhipster Gateway user can get the entities from a Service for the logged-in user ONLY

I'm using jhipster microservices to build my project called Sport Stat application. I have used jhipster to generate the following spring boot backend only microservices: PlayerStatService ...
0
votes
0answers
16 views

Spring Cloud Netflix Eureka Server side registry filtering

I've been investigating the feasibility of introducing a filter / interceptor to manage some custom routing rules in a Spring Cloud Eureka Server. This is rather than having the applicable filtering ...
0
votes
0answers
52 views

Use ES6 'import' instead of 'require' in microservices framework for Node.js

I am using moleculer microservices framework for Node.js. Now, I need to use ES6 import instead of require. For Example, const { abc } = require("../../index.js"); **// This is working well.** <...
0
votes
0answers
26 views

Staging - Test multiple microservice versions together

I been trying to search for answer for this question but so far I didn't found anything useful. Our problem is that we have 2 microservices with many staging branches, each of these microservices are ...
1
vote
1answer
20 views

IP Control for backup services and connection with Registery Service

let's take Eureka. in a normal scenario, A microservice is registered with the Eureka, and we get its information there. the microservice has multiple backup servers. the question is, how these ...
0
votes
1answer
10 views

maintaining session key with backup services

How is the session key/token is maintained for Resful web service, when the main microservice is crashed and the backup service has to run? in otherwords, how the backup service (all) will get the ...
0
votes
1answer
24 views

How to design Nginx location for microservice?

We have 10 Microservices-based applications. Each of them has about 15 services. So, we have 150 different service URLs for our product. My question: How to design the Nginx location? 1) One ...
0
votes
1answer
36 views

User Interface(UI) as a different microservice in springboot

I have multiple micro services, each for particular task/activity. I am using UREKA and also gateway service. So my question is should i have different UI microservice which will handle UI activities ...
-3
votes
1answer
36 views

Why do Kubernetes' containers fail when ran on runsc (gVisor) as a runtime in Docker?

I am running a single master Kubernetes cluster with Docker. I wanted to try runsc (gVisor) on Kubernetes. I just wanted to start each container in a separate sandbox. So I set runsc as the default ...
0
votes
0answers
21 views

Spring boot ActiveMQ Consumer Group

I have the following problem... I've developed a microservice using Spring-boot that consumes JMS messages from an ActiveMQ topic. This microservice is going to deployed in several containers so I ...