{"name":"technologies","slug":"technologies","paginate_by":null,"paginate_path":null,"render":true,"feed":false} {"name":"MySQL","slug":"mysql","path":"/technologies/mysql/","permalink":"https://martin-thurau.de/technologies/mysql/","pages":[{"relative_path":"story/drklein.md","colocated_path":null,"content":"<p>Dr. Klein Privatkunden is a financial intermediary for property loans, insurance and instalment loans for consumers. It\nuses <a href=\"https://www.holacracy.org/\">Holocracy</a> as it's organization scheme, which provides a unique way of influencing the\ndecision making process of the organization. I worked in the Team &quot;Plattform&quot; to create a software platform that connects\nproperty-related partners like real estate agents and architects with customers. <span id=\"continue-reading\"></span> When I joined, the\nproject was in it's beginning stages so I had the opportunity to work on various parts of the project:</p>\n<h2 id=\"development-lead-for-the-brand-new-customer-portal-from-start-to-production\">Development lead for the brand new customer portal from start to production</h2>\n<p>The customer portal is based on a micro-frontend architecture written in Angular that communicates with multiple Spring\nBoot microservices in the backend via a RESTful API, which are all tied together by a Kafka based event system. It\nfeatures a section for the personal data of customers, a view on the current customer service agent, a multi-step wizard\nfor all the relevant property loan data and a document upload. Property loans require a lot of paperwork which was\npreviously managed manually and offline by sales agents. The document upload provides a way for customers to upload all\nthe relevant documents which are then automatically organized according to their type and are directly available in the\nsoftware that the sales agents use. This greatly reduced the complexity of this part of the customer journey by making\nthe process fully digital for the customer and our sales agents.</p>\n<h2 id=\"maintenance-for-login-and-registration\">Maintenance for login and registration</h2>\n<p>With the growing number of features and team members I took over the maintenance and future development of our core\nauthentication and authorization system and the API gateway. All users of the system authenticate via an OAuth2 based\nlogin system and all internal and external requests are validated by a central API gateway before being processed. This\nallowed us to publicly expose all of our APIs which makes integration of other internal and external systems easy. We\nalso dogfooded our APIs with our own frontends. My tasks involved continued improvement and bug-fixing of the login and\nregistration process and the aforementioned authentication process.</p>\n<h2 id=\"involvement-and-architecture-und-devops\">Involvement and Architecture und DevOps</h2>\n<p>I was part of the architecture and devops circles. The architecture circle aimed to facilitate the continued improvement\nof our general architecture and also served as a decision making entity for it. It is also the place to exchange, discuss\nand approve architectural decisions of the individual subteams which we do with regular work meetings. The DevOps circle\nbrought together all developers that hold the &quot;DevOps hat&quot; in the subteams. We used an infrastructure-as-code based\napproach based on Terraform (for general provisioning) and Kubernetes. Most of the actual day-to-day devops work was\nmostly handled autonomously by the developers in the subteams. This circle was the central place to discuss ideas and\nsolve problems. We also did most of the overarching groundwork here.</p>\n<h2 id=\"migrating-our-event-system-from-rabbitmq-to-kafka\">Migrating our event system from RabbitMQ to Kafka</h2>\n<p>Our microservice architecture used an event based architecture for propagating state and data between services and\nespecially context boundaries. Those events were previously published via RabbitMQ in publish/subscribe configuration.\nIn order to keep logical consistency we wanted to keep certain ordering guarantees which required custom logic for all\nreaders. This proved to be a cumbersome and poorly performing part of our overall architecture so we decided to switch\nover to Kafka as an event bus. My work here involved prototyping and testing, writing and maintaining the shared\nintegration library (based on Spring Kafka) as well as supporting other developers in the migration.</p>\n<h2 id=\"maintaining-internal-libraries\">Maintaining internal libraries</h2>\n<p>Additionally to the Kafka related library I also maintained an internal Java library for our Spring Boot microservices.\nThe library handles common tasks for monitoring, tracing, authentication for internal and external requests and testing.</p>\n<h2 id=\"exploring-new-technologies-and-tools\">Exploring new technologies and tools</h2>\n<p>In some extra time I explored various new tools and languages and introduced them to the team. I brought in Kotlin as a\nsecondary JVM language for our Spring Boot microservices (the document upload is fully written in Kotlin) and also\ndeveloped an auxiliary monitoring tool with Rust to get some insight into the language. Additionally, I wrote a Yeoman\nbased code generator to reduce the amount of code that has to be written for new entities which saved a lot of typing\nhours for my teammates and me.</p>\n<h2 id=\"developer-support\">Developer support</h2>\n<p>Being a full stack developer and also a pretty early member of the team I knew most parts of the system to some degree.\nBecause of this I was frequently asked by other team members about details of our system. I was also sometimes involved in\ndebugging and the onboarding of new team members.</p>\n<p>Additionally I also held multiple Holocracy related roles such as facilitator (who leads and mediates meetings) and\nsecretary (who organizes and documents said meetings).</p>\n","permalink":"https://martin-thurau.de/story/drklein/","slug":"drklein","ancestors":["_index.md","story/_index.md"],"title":"Dr. Klein Privatkunden AG","description":null,"updated":null,"date":null,"year":null,"month":null,"day":null,"taxonomies":{"languages":["Kotlin","Java","Rust","Javascript","Typescript"],"technologies":["Spring Boot","Kafka","MySQL"]},"authors":[],"extra":{"work_from":"2019-04-01","work_until":"2021-09-30","link":"https://www.drklein.de","logo":"story/drklein_logo.png"},"path":"/story/drklein/","components":["story","drklein"],"summary":"<p>Dr. Klein Privatkunden is a financial intermediary for property loans, insurance and instalment loans for consumers. It\nuses <a href=\"https://www.holacracy.org/\">Holocracy</a> as it's organization scheme, which provides a unique way of influencing the\ndecision making process of the organization. I worked in the Team &quot;Plattform&quot; to create a software platform that connects\nproperty-related partners like real estate agents and architects with customers. ","toc":[{"level":2,"id":"development-lead-for-the-brand-new-customer-portal-from-start-to-production","permalink":"https://martin-thurau.de/story/drklein/#development-lead-for-the-brand-new-customer-portal-from-start-to-production","title":"Development lead for the brand new customer portal from start to production","children":[]},{"level":2,"id":"maintenance-for-login-and-registration","permalink":"https://martin-thurau.de/story/drklein/#maintenance-for-login-and-registration","title":"Maintenance for login and registration","children":[]},{"level":2,"id":"involvement-and-architecture-und-devops","permalink":"https://martin-thurau.de/story/drklein/#involvement-and-architecture-und-devops","title":"Involvement and Architecture und DevOps","children":[]},{"level":2,"id":"migrating-our-event-system-from-rabbitmq-to-kafka","permalink":"https://martin-thurau.de/story/drklein/#migrating-our-event-system-from-rabbitmq-to-kafka","title":"Migrating our event system from RabbitMQ to Kafka","children":[]},{"level":2,"id":"maintaining-internal-libraries","permalink":"https://martin-thurau.de/story/drklein/#maintaining-internal-libraries","title":"Maintaining internal libraries","children":[]},{"level":2,"id":"exploring-new-technologies-and-tools","permalink":"https://martin-thurau.de/story/drklein/#exploring-new-technologies-and-tools","title":"Exploring new technologies and tools","children":[]},{"level":2,"id":"developer-support","permalink":"https://martin-thurau.de/story/drklein/#developer-support","title":"Developer support","children":[]}],"word_count":809,"reading_time":5,"assets":[],"draft":false,"lang":"en","lower":null,"higher":null,"translations":[{"lang":"de","permalink":"https://martin-thurau.de/de/story/drklein/","title":"Dr. Klein Privatkunden AG","path":"/opt/buildhome/repo/content/story/drklein.de.md"},{"lang":"en","permalink":"https://martin-thurau.de/story/drklein/","title":"Dr. Klein Privatkunden AG","path":"/opt/buildhome/repo/content/story/drklein.md"}],"backlinks":[]}],"page_count":1}