When building a RESTful API we often want to give consumers the option to order collections in a specific way (e.g. ordering users by last name). If our API supports pagination this can be quite an important feature. When clients only query a specific part of a collection they are unable to order elements on the client. Sorting is typically ...
Read More »Saving JetBrains MPS models in a database using Modelix
JetBrains MPS is our tool of choice to build Domain Specific Languages targeting professionals who are not developers. MPS is a great choice but over several projects we ran into specific issues for which we are researching an answer. In this article we see how we can solve one of these issues by using Modelix to store MPS models into ...
Read More »Permutation – Heap’s Algorithm
This is a little bit of experimentation that I did recently to figure out a reasonable code to get all possible permutations of a set of characters. So say given a set of characters “ABC”, my objective is to come up code which can spit out “ABC”, “ACB”, “BAC”, “BCA”, “CBA”, “CAB”. The approach I took is to go with ...
Read More »Apache Camel 3.7 – More camel-core optimizations coming (Part 5)
I have previously blogged about the optimziations we are doing in the Apache Camel core. The first 3 blogs (part1, part2, part3) were a while back leading up to the 3.4 LTS release. Now we have done some more work (part4) and this part 5 that is coming up in the next 3.7 LTS release. This time we have mainly ...
Read More »Stylish API
In this blog post we are going to look at the new styling and other new options available in OpenAPI and SwaggerUI Quarkus (v1.10.0 +). Styling Default style The default style for Swagger UI has changed from the vanilla Swagger UI to a Quarkus branded page: In this post we mostly focus on Swagger UI, but the styling options also ...
Read More »Jakarta MVC 2.0 Progress
The work with Jakarta MVC 2.0 goes forward. According to the Jakarta EE Specification Process (JESP), we are now in the development phase where we will release as many milestones as we need until we are satisfied to move on to finalize the specification. There are already Milestone 1 releases available of both the Spec+API and the TCK in Jakarta ...
Read More »Processing real-time data with Storm, Kafka and ElasticSearch – Part 2
This is the second part of the article series: Processing real-time data with Storm, Kafka, and ElasticSearch. 1. Introduction In the first part we described the problem and how we are going to solve it. To refresh your memory, the plan is to create a Data Reduction System of historic flight data (which you can freely download from here). We ...
Read More »Kafka & Zookeeper for Development: Local and Docker
Kafka popularity increases every day more and more as it takes over the streaming world. It is already provided out of the box on cloud providers like AWS, Azure and IBM Cloud. Eventually for cases of local development it is a bit peculiar due to requiring various moving parts. This blog will focus on making it easy for a developer ...
Read More »GC Logs changes for migrating from JDK 8 to JDK 11
Problem Moving from JDK 8 to JDK 11 is quiet subtle. One issue which many people have faced is regarding is GC Logs. Solution JDK 11 uses generic logging mechanism. So flags like PrintGCDetails, PrintGCDateStamps don’t work anymore. The new format is easy to use once you understand it. Format is : 1 [tag selection][:[output][:[decorators][:output-options]]] There are 4 sections to ...
Read More »