jhipster, with micro service, gateway (logstash) did not write metrics to elasticsearch - jhipster

gateway logstashAppender is no work , but consoleAppender It's normal

Just remove the Kafka dependency and feel like compatibility issues

Related

Issue in Koa.js for jaeger tracing with Istio

I am facing issue in jaeger tracing with Koa.js microservices.I haven't change anything regarding jaeger at my code level .I only install istio at AKS cluster and internally its taking tracing from there.But its showing tracing between two microservices only.I require full tracing like if I am getting response from four microservices then four microservices will show in tracing together but in my case only two microsrvices are only showing.
Do I need to make change in my all repos regarding jaeger headers ?
Currently all my microservices are written in Nodejs Koa.js framework.
Thanks.

Azure ServiceBus JMS transaction support not clear

I'm working on Java JMS application connecting to Azure ServiceBus. Once I found out JMS is supported I did not expect any problems. However, when I started creating the connections and added Spring JmsTransactionManager I got an error which said my Azure subscription is "Base" tier and thus transactions are not supported. What I did was upgrading to "Standard" tier and the error was resolved. This is covered here.
However during testing I was not sure it is working as expected and I'm testing the behavior and in the meantime I got confused by another MS documentation saying "transacted sessions" are not supported in this JMS over AMQP protocol.
Question:
Can I rely the queue in Service bus will be transacted meaning the message won't be removed from queue until my transaction manager explicitly calls COMMIT?
How can anyone claim JMS compliance but at the same time say I don't support transacted sessions.
Thank you for any response because I'm confused.
Update:
The Azure Service Bus starter for Spring Boot has Qpid as dependency so that is what I'm using under the hood - I was not aware of this first:
<!--Qpid-->
<dependency>
<groupId>org.apache.qpid</groupId>
<artifactId>qpid-jms-client</artifactId>
</dependency>
There is not currently a specification for distributed (XA) transactions over AMQP and as such the Qpid JMS client does not offer an XA ConnectionFactory implementation so if you are using that then for sure you would not get any support for distributed transactions.
The Qpid JMS client itself does implement local transactions so in that sense you could use a standard locally transaction JMS session but it is possible that MS has disabled that through the spring boot bits to dissuade folks from using it as the benefit of local transactions is quite small especially for folks using spring how might think that they are participating in a larger distributed transaction when they are in fact not.

Annotation configuration for kafka High level consumer

I wonder if there's a way to configure the kafka-integration Inbound Channel Adapter as explained in https://github.com/spring-projects/spring-integration-kafka using Java annotations instead of xml. I don't quite get the clue on it. I was able to configure the Message Driven Channel Adapter but now I need one that doesn't re-reads consumed messages in case of re-starting the server
See the main Spring Integration Documentation for configuring with annotations; also see the Java DSL.
We are adding more and more java configuration examples; see here for example.
The kafka high-level message source would be configured as an #InboundChannelAdapter #Bean.

Spring Integration: inbound and outbound adapters to MQTT

I'm trying to build MQTT support into my Spring application. For this I'm looking at the references provided by Spring, which can be found here here.
They provide sample code for inbound and outbound channel adapters, but this concept of adapters is unclear to me. I couldn't find a lot of information about it on the web.
What exactly are these adapters and why are they needed?
Where do I need to define these adapters and how do I access them?
I'm using eclipse as my IDE and maven as my buildtool.
The adapters are a concept from Spring Integration which is yet another Spring project that provides an implementation of the Enterprise Integration Patterns and provides an abstraction layer that standardizes the way you integrate with external system, whether they are based on JMS, FTP or as in your case MQTT.
As with so many other Spring projects, the driver behind it is a loose coupling and standardization that will enable you to swap your channel provider (e.g. if its a JMS provider swap RabbitMQ with ActiveMQ or vice-versa) with a minimal impact to the rest of you code.
Its comparable to Apache Camel, in case your more familiar with it, and this comparison is quite an interesting read

Monitoring Servicemix with Hyperic HQ

I have been able to configure Hyperic HQ to identify servicemix 4, however, It could only see the "ServiceMix 4.x Garbage Collector" service. I would like to be able to monitor activemq Queues, Endpoints, and Camel Applications (if possible)
Has anyone been able to do this?
I ran into the same issue at a client recently. We didn't find any support for doing this with HypericHQ, so we built our own basic web app using JSP, Ajax/jQuery and JMX to interface with AMQ/Camel. Another option is to customize the ActiveMQ and Camel web consoles...
Here are some notes on using JMX to monitor/manage both ActiveMQ and Camel...
http://benoday.blogspot.com/2010/08/managing-camel-routes-with-jmx-apis.html
http://benoday.blogspot.com/2010/08/monitoring-and-managing-activemq-with.html
Also, I know the Camel team is looking to enhance the web console in future releases (see the 3.0 roadmap)
good luck...

Resources