How to do replication in ChronicleQueue 5 - java-11

I am migrating from jdk8 to jdk11 and hence trying to use chronicle-queue v5.
In ChroincleQueue version 3 we had dedicated methods for creating SourceQueue and SinkQueue.
But I am finding it little difficult to implement the same with ChronicleQueue v5.
I am trying to follow this. In the doc they have mentioned use of ReplicatedQueue and ReplicatedQueueCfg classes. I looked into different classes of all the other packages of Chronicle but didn't find any of these classes.
How can I implement replication using ChronicleQueue5 ?

Related

Upgrading from Esri.Arcgis.Client 10.2.x to Arcgis.Runtime.100.x

Hello fellow arcgis developers.
I am about to migrate from old Arcgis.Client .Net to Arcgis.Runtime .Net.
And looking at the documentation I cant find what corresponding namespaces they are now using in the Arcgis.Runtime 100.x.
Now when running Arcgis.Client i have these all namespace i need to change for the corresponding in Arcgis.Runtime 100.13 and as i mentioned could not find in the documentation:
using ESRI.ArcGIS.Client.Local;
using ESRI.ArcGIS.Client;
using ESRI.ArcGIS.Client.Symbols;
using ESRI.ArcGIS.Client.Tasks;
using ESRI.ArcGIS.Client.Toolkit.DataSources;
using ESRI.ArcGIS.Client.Geometry;
I have been looking at this guide but I dont mention the namepaces above.
https://developers.arcgis.com/net/reference/migrate-to-100-x-from-10-2-x/
It’s not a 1:1 but most namespaces are under Esri.ArcGISRuntime.* instead of Esri.ArcGIS.Client.*. Let intellisense and auto complete in Visual Studio help you discover them. Also not all classes are 1:1 so they might be named different or use a completely different and improved approach now

Custom LegacyWrapper for vaadin flow to integrated legacy code

There are plenty of good addons, developed for vaadin 7 and vaadin 8 non compatible with flow. Searching for solution i found - vaadin docs on MPR (multiplatform runtime) - where LegacyWrapper class is available which provides integration for legacy components into flow engine. The MPR is available for Prime (paid) subscription users only, so does the LegacyWrapper class as well.
Could anybody please give any hints how to make a simple wrapper implementation for using legacy components into flow layouts. I believe, supposed CustomLegacyWrapper class should inherit from vaadin.flow.component and contain (as a composition, maybe?) vaadin.ui.AbstractComponent. How the baseline solution might look like?
Thanks in advance.
I've got an answer to my question on the vaadin forum from one of the contributors that there is no simple workaround for my purpose, integration of old components into flow engine is one of multiplatform features and its not possible to implement it in easy way.

Piranha CMS How To Extend

I've just started looking at Piranah as a way to jump start a personal project. It looks great, but I would like to extend some of the models. For example, have an physical address field for every bog post.
What is the best way to add that, without causing issues when upgrading later?
Given that you’re using the latest version of Piranha for .NET Core the content types are very flexible and you can extend them in many ways through the framework. You can find good documentation on this here:
http://piranhacms.org/docs/basics/how-to-setup-content
If you’re using the legacy version of Piranha (2.x) you can read about it here.
http://legacy.piranhacms.org/docs/extend/page-post-types
The content model of the latest version of Piranha is far more flexible.
Best regards

How to maintain a maven project with quartz-1.8.6 and quartz-2.x?

I need to use both quartz-1.8.6 and quartz-2.x.x dependencies in the same maven 3 project.
The reason for keeping 1.8.6 is that it's used by a large amount of code and new features are considered to written in spring, and in this case quartz-2.x come into play.
So the question is: how can I keep both these dependencies in the same project ? Maybe add some exclusions?
do you really need to use both of them at the same time
generally the classes may be deprecated. but usage will still be allowed.
You see whole idea of using maven is to avoid multiple jar of same API.
I will suggest code changes and completely using quartz 2.x API.
I was getting similar issue when I used lucene and was switching from 2.2 to 2.8/3, there were not just deprecated methods but many lucene classes were removed i the 2.8 API. I still ended in upgrading the API than using duplicate dependent jars

LinFu version in NHibernate 2.1

I'm migrating the data layer of our application to NH version 2.1.0 (from 2.0.1) and noticed the use of LinFu. I discovered that framework and want to use it in other pieces of the application, especially I want to use the LinFu.Reflection.dll, which requires a reference to LinFu.DynamicProxy and here comes the trouble, the 1.0 final version of LinFu that I can find on google.code is not the same version used by NHibernate itself. Do I need to rebuild NHibernate.ByteCode.LinFu.dll changing the reference to the available version? If not, what else?
I have faced the same problem a few days ago. There's a tool named ILMERGE that merges .NET DLL-files, and that way you should be able to have several versions of the same DLL in your application.
Unfortunately I haven't tested the tool yet, I didn't get around to it, but I'll test in the next week.
But Rhino Mocks for example, has a binary with all dependencies included: http://ayende.com/projects/rhino-mocks/downloads.aspx, so it seems doable.