silentsudo
open-menu closeme
Home
About
My Library
stackoverflow github gitlab linkedin rss
  • How to create a Python Processor in Apache Nifi 2

    calendar Jun 13, 2025 · 1 min read · python apache-nifi-2  ·
    Share on: twitter facebook linkedin copy

    While Apache Nifi is an amazing tool. It has introduced how to write processor in python directly and use it as is. If you follow the documentation, I hit a roadblock of how to make this imports work. 1from nifiapi.flowfiletransform import FlowFileTransform, FlowFileTransformResult I am not a master python developer …


    Read More
  • Handle exception from service classes in Spring-Boot

    calendar Jan 30, 2022 · 3 min read · spring-boot  ·
    Share on: twitter facebook linkedin copy

    Introduction While developing spring-boot apps I have faced challenge of handling exception from service methods. Any exception that are propogated from the Controllers are handled by @ControllerAdvice. AFAIK there is nothing called as @ServiceAdvice to handle any exception being thrown from service layer. Spring tool …


    Read More
  • Using CompletableFuture with RestTemplates in Spring-Boot Part 2

    calendar Dec 14, 2021 · 4 min read · rest-template  ·
    Share on: twitter facebook linkedin copy

    Complatable Future with RestTemplate In the previous article we learned how to use RestTemplate to call apis in sequence and compose their result and write to the client. We will try to optimize this now by makeing these 2 request work in parallel and return this response. We will same UserProfileSupplier & …


    Read More
  • Using CompletableFuture with RestTemplates in Spring-Boot Part 1

    calendar Nov 27, 2021 · 4 min read · rest-template  ·
    Share on: twitter facebook linkedin copy

    Use case RestTemplate is a synchronous web-client to perform http/s requests from spring applications. Configuration We first define the bean to be injected in our services using following config: 1@Configuration 2public class Config { 3 4 @Bean 5 public RestTemplate restTemplate() { 6 return new RestTemplate(); 7 } 8 …


    Read More
  • Create ndjson logging for spring boot applications

    calendar Nov 1, 2021 · 2 min read · logging json ndjson  ·
    Share on: twitter facebook linkedin copy

    Logging ndjson to a file We will configure spring-boot application to redirect logs to a file in ndjson format. See more information on ndjson Dependencies Add following dependencies to the pom.xml 1 <dependency> 2 <groupId>ch.qos.logback.contrib</groupId> 3 <artifactId>logback-json-classic</artifactId> 4 …


    Read More
  • Simple Social networking app with Node, Angular & MongoDB

    calendar Oct 7, 2021 · 2 min read · node mongodb angular  ·
    Share on: twitter facebook linkedin copy

    Web app background After writting backend application which no face to showcase or few personal projects which i started but never completed because of lack of ui(infact i do not like html & css at all). Have learned it before time caused me to show less interest during actual projects. But everyday a new ui and js …


    Read More
  • Integrating jsonwebtoken library in nodejs application

    calendar Sep 30, 2021 · 3 min read · auth jwt  ·
    Share on: twitter facebook linkedin copy

    Among other numerous jwt advantages, I prefer one more crucial jwt advantage of generating and validating it before hand and avoid the need to store it in database. Storing it in database also can be helpful but that is later topic of discussion. We store credentials of user in database using Bcrypt password hashing …


    Read More
  • Basic Query optimization in postgres

    calendar Jul 30, 2021 · 2 min read · sql postgres  ·
    Share on: twitter facebook linkedin copy

    Let's load dataset into postgres. Run postgres docker container 1docker run -d --name postgres-shared-buff-default -e POSTGRES_PASSWORD=ungabunga postgres If you use tools like pgadmin, please follow this link to import csv data into database. Let's see how many rows we have using count query. 1select count(id) from …


    Read More
  • Simple logstash, elastic search and kibana example

    calendar May 19, 2021 · 4 min read · logstash kibana elastic-search  ·
    Share on: twitter facebook linkedin copy

    Hello Everyone, now that we know how to use logstash from Post 1 and Post 2. This time we will load world cities data apply a few filters, transform it and store results in elastic search to analyze it. ELK Download 1wget https://artifacts.elastic.co/downloads/logstash/logstash-[version-os-arch].tar.gz 2wget …


    Read More
  • Event driven microservices with spring cloud stream binder rabbit

    calendar May 14, 2021 · 4 min read · spring-boot rabbitmq microservices event-driven spring-cloud-stream  ·
    Share on: twitter facebook linkedin copy

    "Human beings are always in a state of motion, interacting with their environment while sending out and receiving information from the things around them. Typically, these conversations aren’t synchronous, linear, or narrowly defined to a request-response model. It’s something more like a message-driven, where we’re …


    Read More
    • ««
    • «
    • 1
    • 2
    • 3
    • 4
    • »
    • »»

Ashish Agre

Hands-On Mobile & Backend Engineer
Read More

Featured Posts

  • Using CompletableFuture with RestTemplates in Spring-Boot Part 2
  • Using CompletableFuture with RestTemplates in Spring-Boot Part 1
  • Create ndjson logging for spring boot applications
  • Simple Social networking app with Node, Angular & MongoDB

Recent Posts

  • How to create a Python Processor in Apache Nifi 2
  • Handle exception from service classes in Spring-Boot
  • Integrating jsonwebtoken library in nodejs application
  • Basic Query optimization in postgres
  • Simple logstash, elastic search and kibana example

Categories

AIML 5 ELK 4 SPRING-BOOT 4 WEB-FRAMEWORK-JAVA 4 JSON 3 JAVA 2 APACHE-NIFI 1 PYTHON 1

Series

APACHE NIFI 2 1 CONCURRENCY IN JAVA 1

Tags

AIML 5 SPRING-BOOT 5 ANGULAR 4 JUPYTER-NOTEBOOK 4 PANDAS 4 APACHE-KAFKA 3 AUTH 3 DISTRIBUTED-SYSTEMS 3 LOGSTASH 3 SQL 3 HLS 2 JAVA 2 MICRONAUT 2 REST-TEMPLATE 2
All Tags
ADABOOSTCLASSIFIER1 ADABOOSTREGRESSOR1 AIML5 ANGULAR4 APACHE-KAFKA3 APACHE-NIFI-21 AUTH3 BAGGINGCLASSIFIER1 CITY1 COMMANDS1 COUNTRY1 DASH1 DATSET1 DECISIONTREECLASSIFIER1 DECISIONTREEREGRESSOR1 DISTRIBUTED-SYSTEMS3 DOCKER1 ELASTIC-SEARCH1 ENSEMBLE-TECHNIQUE1 EVENT-DRIVEN1 EXTRATREESREGRESSOR1 FEATURE-ENGINEERING1 FFMPEG1 GOTCHAS1 GRADIENTBOOSTINGCLASSIFIER1 GRADIENTBOOSTINGREGRESSOR1 GRADLE1 GRID-SEARCH-CV1 HASH1 HLS2 IMAGE-RECOGNITION1 INDEX1 JAVA2 JSON1 JUPYTER-NOTEBOOK4 JWT1 KAFKA-CONNECTOR1 KERAS1 KIBANA1 KNEIGHBORSREGRESSOR1 LASSO1 LINEARREGRESSION1 LOGGING1 LOGISTIC REGRESSION1 LOGSTASH3 MICRONAUT2 MICROSERVICES1 MONGODB1 NDJSON1 NODE1 OAUTH21 OBJECT-DETECTION1 PANDAS4 PCA1 POSTGRES1 PYTHON1 RABBITMQ1 RANDOM-SEARCH-SV1 RANDOMFORESTCLASSIFIER1 RANDOMFORESTREGRESSOR1 RESOURCE-SERVER1 REST-TEMPLATE2 RIDGE1 SCRIPTS1 SPRING-BOOT5 SPRING-CLOUD-STREAM1 SPRING-SECURITY1 SQL3 STATE1 STREAMING1 SUPERVISED-LEARNING1 TENSORFLOW1 TIPS1 TWITTER-INPUT-PLUGIN1 UNSUPERVISED-LEARNING1 USER-INFO1 VIDEO1 VIDEOJS1
[A~Z][0~9]
- By silentsudo

Copyright 2012-  - BY SILENTSUDO. All Rights Reserved

to-top