February 24, 2020

[Tip] How to convert AsciiDoc to Markdown

I write posts on this blog using AsciiDoc, but a couple of resources I repost on support only Markdown, so to convert articles I use the following commands: asciidoctor -b docbook index.adoc pandoc -f docbook -t markdown_strict -o index.md index.xml The only question that remains is how to properly convert code listings' captures. One of the platforms I repost on is Habr. Its Markdown dialect can’t correctly process line breaks and starts a new paragraph after each line break, so I need to perform one more transformation: Read more

February 17, 2020

How to GraphQL in Kotlin and Micronaut and create a single endpoint for access to microservices' APIs

GraphQL is a query language for APIs that was developed by Facebook. In today’s article, you will see an example on how to implement a GraphQL API on the JVM, particularly using Kotlin language and Micronaut framework; most of the examples below are reusable on other Java/Kotlin frameworks. Then we will consider how to combine multiple GraphQL services into a single data graph to provide a unified interface for querying all of your backing data sources. Read more

January 16, 2020

Creating a microservice with Quarkus, Kotlin, and Gradle

This article is also available in Russian. Preface In the previous article, the brief explanations of creating microservices on the modern JVM frameworks and comparison of them were shown. Now it’s time to take a closer look at the most recently appeared framework: Quarkus. I’ll describe the process of creating a microservice using the mentioned technologies and in accordance with the requirements specified in the main article. Read more

January 10, 2020

Not only Spring Boot: a review of alternatives

Table of Contents Preface Prerequisites Creating an application from scratch Helidon service Ktor service Micronaut service Quarkus service Spring Boot service Launch API testing Comparison of applications' parameters Artifact size Start time Memory usage Conclusion Helidon Ktor Micronaut Quarkus Spring Boot Preface At present, there is no lack of frameworks for creating miŅroservices in Java and Kotlin. The following are being considered in the article: Read more

© Roman Kudryashov 2019-2020

Powered by Hugo & Kiss.