I was asked recently by one of my colleagues what is a human engineer as this is the title that I recommend myself with. I've replied simply that I build humans. Like Frankenstein she said? Well not quite. deenofgeek.com A bit of background. For the most of my professional life I was(still at core) a… Continue reading Human Engineer
Author: sergiuoltean
Up in the air
Human are assets, not resources. I think that the HR managers should be called HA managers. Like computers, desks, the building are assets for a company humans are assets. I would say the most important asset. Nothing can be achieved without them. So what can we do to take care about our people in this… Continue reading Up in the air
The leader can be you
First step to success is to identify your own leader qualities.Communication is built on top on trust relations.Motivation cannot be imposed. People must want to work well.Nothing is more effective and satisfying than to show interest in others.Overcome your limits in order to discover what’s important for the others.Nothing is more convincing that being a… Continue reading The leader can be you
Dynamic drools rules
In my case it turned out that drools workbench was too much for non-tech folks. They were from operations and they felt that guided rule, guided decision tables, etc are something that won't be comfortable with and cumbersome to work with. Their job was to add rules and the main problem is that the number… Continue reading Dynamic drools rules
Drools – Calling the KIE Server
In the previous post we learned to write rules and setup KIE server. Now it's time to integrate with it and insert our fact data. Make sure your instances of KIE server and Drools Workbench are up and running. ➜ ~ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES aa3b6f28e060 my-kie:latest "./start_kie-server.…" 3… Continue reading Drools – Calling the KIE Server
Drools – Workbench and KIE Server
Recently I needed to look over drools and I will go over what I learned in a series of posts. This is the first one. Its aim is focused on practicality rather than theoretical learnings. Drools is a business rule engine. This means when you need rules in your application your mind should at least… Continue reading Drools – Workbench and KIE Server
Java 15
Welcome to another release review. As one of my colleague pointed out, keeping up with releases takes time that we don't have (since we are still on 11) but nevertheless we need to invest the time to make the transition easier to the next LTS which is gonna be Java 17. As you already noticed… Continue reading Java 15
A look at the Camel Kafka Consumer
In this post let's look at the Kafka Camel Component. Apache Camel is an implementation of the enterprise integration patterns. The class we want is KafkaConsumer @Override protected void doStart() throws Exception { //... executor = endpoint.createExecutor(); //... for (int i = 0; i < endpoint.getConfiguration().getConsumersCount(); i++) { KafkaFetchRecords task = new KafkaFetchRecords(topic, pattern, i… Continue reading A look at the Camel Kafka Consumer
Kafka Consumer Rebalance
A consumer is a process that reads from a kafka topic and process a message. A topic may contain multiple partitions. A partition is owned by a broker (in a clustered environment). A consumer group may contain multiple consumers. The consumers in a group cannot consume the same message. If the same message must be… Continue reading Kafka Consumer Rebalance
Maven parent version
It most cases when we need maven, we need a parent child like structure. I personally like to start my projects with a parent bom file where I manage all my dependencies and plugins. https://unsplash.com/@vikceo <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <artifactId>commons</artifactId> <packaging>pom</packaging> <version>1.0-SNAPSHOT</version> <parent> <groupId>com.sergiuoltean.test</groupId> <artifactId>bom</artifactId> <version>1.0-SNAPSHOT</version> <relativePath/> </parent> </project> Now… Continue reading Maven parent version