How to enable transaction mode on PublishJMS processor in Apache NIFI? - apache-nifi

I hope to enable transaction mode when using PublishJMS processor in Apache NIFI. However, there are no such properties in the properties of PublishJMS processor.
So, any suggestion? Thanks

Related

how to configure mysql with apache ignite ? and use read-through ,write through features

I'm trying to configure 3rd party persistance (mysql) in apache ignite .I'm new to ignite and I'm using spring boot,can someone help me with it?
First of all, you can use GridGain Web Console to generate 3rd party persistence configuration for you. It will connect to your DB via Agent and generate cache configurations.
Then, you can see DZone cache store example using custom CacheStore.
Finally, you can use example provided with Ignite.

Difference between HDF and Apache NiFi

I am trying to understand difference between Apache Nifi and Hortonworks Data Flow (HDF).
How they differ from each other in terms of capability and overall design ? What will be possible use cases for Nifi and HDF ?
Hortonworks Data Flow (HDF) is a platform for data collection, curation, analysis, and delivery. It is made up of Apache NiFi, Apache Kafka, Apache Storm, and Apache Ranger. You can read more about it here: https://hortonworks.com/products/data-center/hdf/
Apache NiFi is an open-source data flow tool, and is one of the tools included in HDF.

How to access mulesoft application metrics using JMX

I want to expose some custom application metrics like how many records processed to JMX in mulesoft flow.
My application is spring boot application.
Any idea on how to achieve this?
Thanks & Regards,
Vikas Gite
Using the Default JMX Support Agent
You can configure several JMX agents simultaneously using the element. When set, this element registers the following agents:
List item
JMX agent
RMI registry agent (if necessary) on rmi://localhost:1099
Remote JMX access on service:jmx:rmi:///jndi/rmi://localhost:1099/server
(Optional) Log4J JMX agent, which exposes the configuration of the Log4J instance used by Mule for JMX management
JMX notification agent used to receive server notifications using JMX notifications
(Optional) MX4J adapter, which provides web-based JMX management, statistics, and configuration viewing of a Mule instance
Also you can try below which can directly be configured under the MULE's wrapper.conf (under $MULE_HOME/conf/wrapper.conf) to enable JMX connectivity so that we can use tools like JMC (Java Mission Control), VisualVM, JConsole to pull the JMX attribute values from the Mule Server and the deployed applications -
wrapper.java.additional.<n>=-Dcom.sun.management.jmxremote
wrapper.java.additional.<n>=-Dcom.sun.management.jmxremote.port=9999
wrapper.java.additional.<n>=-Dcom.sun.management.jmxremote.authenticate=false
wrapper.java.additional.<n>=-Dcom.sun.management.jmxremote.local.only=false
wrapper.java.additional.<n>=-Dcom.sun.management.jmxremote.ssl=false
wrapper.java.additional.<n>=-Djava.rmi.server.hostname=<localhost ip>
wrapper.java.additional.<n>=-Djava.rmi.activation.port=9998
Here should be removed with the next incremental value of the java wrapper value and will be the ip of the the Mule runtime host/server
I hope you are looking for this, if not then please post further queries or clarity so that i will help you out.

how to enable authentication of storm ui for security?

Recently i install the distributed realtime computation system "Storm".
When enable storm ui, everyone can access the storm ui throuth http://xxxxx:8080, and can kill my topology.
How to enable authentication?
You might want to have a look at Apache Storm Security in general, and particularly the section UI/LogViewer.
Also, have a loot at Storm defaults.yaml configuration file. It contains entries that are related to securing an Apache Storm topology.
And please check which release of Apache Storm that you are using.

Can I use Atomikos with Apache DBCP

As the name suggests, can I use Atomikos JTA Transaction Manager with Apache DBCP?
If so, how should I configure it? I'm using Spring & Hibernate.
I'm trying to switch to JTA for transaction management.
Yes you can use it. Atomikos provides a wrapper data source that should be used to wrap the DBCP dataSource. Your database & jdbc driver should support XA.
And then the usual spring configuration to setup a jta transaction manager.
This link has the detailed instructions and configuration.
http://www.atomikos.com/Documentation/SpringIntegration

Resources