Learn how to implement conditional logic in Spring WebFlux reactive flows.
Also find me here:
Baeldung Author
Tapan Avasthi
Tapan Avasthi is an experienced Senior Engineer with almost a decade of experience in backend development in the software industry. They have a solid inclination to automate the tedious parts of software development and possess an opinionated view on writing elegant, clean code regardless of the technology stack. Additionally, they have ample experience working with Java and Spring ecosystems and a working knowledge of advanced DevOps concepts.
Here's what I've written (so far):
Baeldung on Java
- All
- Reactive (3)
- Spring Boot (2)
- Networking (2)
- Logging (2)
- Java Array (2)
- Data (2)
- Testing (1)
- Spring WebFlux (1)
- Spring Web (1)
- Spring (1)
- NoSQL (1)
- Java String (1)
- Java Numbers (1)
- JSON (1)
- DevOps (1)
Guide to Choosing Between Protocol Buffers and JSON
Filed under JSON
Learn about the differences between JSON and Protocol Buffers in their usage as data serialization formats.
Getting Arithmetic Results in the Modulo (10^9 + 7) Format
Filed under Java Numbers
Learn how to perform modulo-arithmetic operations in Java with 10^9 + 7 as an example format for the modulus.
concat() vs. merge() Operators in RxJava Observables
Filed under Reactive
Learn about the difference between concat and merge when working with RxJava.
Find Missing Number From a Given Array in Java
Filed under Java Array
Learn multiple approaches to finding a single missing number from an array in the integer range [1-N].
Get a Continuous Stream of Logs for Pods in Kubernetes
Learn how to use the kubectl logs command to get a continuous stream of logs from the Kubernetes pods.
Converting an int[] to HashSet in Java
Filed under Java Array
Learn multiple approaches to converting an int[] to a HashSet in Java.
Guide to Sending Post Request via cURL With Data From a File
Filed under Networking
Learn how to send data from files using cURL with the –data and –form options.
How to Post Raw Body Data With cURL
Filed under Networking
Learn how to use cURL for sending raw body data over a POST request.
Baeldung on Linux
- All
- Text Processing (12)
- File Editing (12)
- Scripting (11)
- File Searching (10)
- Files (9)
- Web (6)
- Administration (5)
- Processes (3)
- File Viewing (2)
- Docker (2)
- File Permissions (1)
How to Pipe Data to cURL POST Requests
Filed under Web
Learn how to pipe data to cURL POST requests.
Guide to the nohup Command in Linux
Filed under Processes
Learn how to use the nohup command to ensure a process continues to run in the background in Linux.
How to Delete a File Using Vim
Filed under File Editing
Learn how to delete a file while inside a Vim session in Linux.
Guide to the pgrep Command
Filed under Administration, Processes
Learn how to use the pgrep command in Linux to search for running processes.
How to Open and Position Terminal in Vim
Filed under File Editing
Learn how to use a terminal inside a Vim session, opening and positioning as required.
How to Add New Columns to a CSV File
Filed under File Editing, Text Processing
Learn how to use Linux command line utilities to add new columns to a CSV file.
How to Check for Null Fields in a CSV File
Filed under File Searching
Learn how to search for rows with null fields in a CSV file in Linux.
How to Grep a Pattern Containing a Tab Character
Filed under File Searching
Explore multiple approaches to grep a pattern containing a tab character in Linux.
Deleting a Specific Column in a File Within Vim
Filed under File Editing
Learn how to delete a specific column in a file in Vim, visual block mode, group substitution, external command execution, and macro recording.
Baeldung on Kotlin
- All
- Kotlin Numbers (4)
- Kotlin Collections (4)
- Kotlin Strings (3)
- Kotlin Dates (3)
- Kotlin Arrays (3)
- Libraries (1)
- Kotlin Concurrency (1)
- Algorithms (1)
Guide to the HexFormat API
Filed under Kotlin Strings
Learn how to use the HexFormat API in Kotlin to parse and format hexadecimal values.
Guide to Reading YAML Content in Kotlin
Filed under Libraries
Learn how to read YAML content from a file in Kotlin using two popular libraries.
Guide to Merging Two Maps in Kotlin
Filed under Kotlin Collections
Learn how to combine the key-value pairs of two maps into a single one in Kotlin.
Check if a Number Can Be Expressed as Sum of Two Prime Numbers in Kotlin
Filed under Kotlin Numbers
Explore multiple approaches to checking if a number can be expressed as the sum of two prime numbers.
How to Calculate the Difference Between Two Time Periods in Kotlin
Filed under Kotlin Dates
Learn how to find the difference between two durations or time points in Kotlin.
How to Convert Milliseconds to Minutes and Seconds in Kotlin
Filed under Kotlin Dates
Learn how to convert between units of duration in Kotlin.
Removing an Entry From a Kotlin Map While Iterating Over It
Filed under Kotlin Collections
Learn how to remove a map entry using on a condition on the key during iteration.
Count the Number of Vowels and Consonants in a Sentence in Kotlin
Filed under Kotlin Strings
Learn different ways to count the number of vowels and consonants in a sentence in Kotlin.
Find Average of All Items in a List in Kotlin
Filed under Kotlin Collections
Learn several approaches, such as loops, extension functions, and sequences, to calculate the average of all items in a Kotlin list.
Baeldung on Ops
- All
- Git (9)
- DevOps (8)
- Kubernetes (3)
- Docker (3)
- Logging (2)
- Deployment Tools (2)
- Jenkins (1)
How to Get the Title of Pull Request in GitHub Actions?
Filed under Git
Learn multiple ways of getting the title of a pull request.
Create Pull Request With GitHub Actions
Filed under Git
Explore different ways to create a pull request using GitHub Actions, including the GitHub CLI, the REST API, and the peter-evans/create-pull-request action.
Guide to Getting the Commit Message in GitHub Actions
Learn how to get the commit message in GitHub actions.
Guide to Getting Commit SHA in GitHub Actions
Learn how to get the commit SHA in GitHub actions.
Guide to Getting Commit SHA in GitHub Actions
Learn how to get the commit SHA in GitHub actions.
How to Push Changes to a Repository from a GitLab CI Pipeline
Filed under Git
Learn how to push code changes to a GitLab repository.
Guide to Using GitLab CI to Run Tests Locally
Filed under DevOps
Learn how to speed up development by using GitLab CI to run tests locally and not on a remote build agent.
Guide to Using cURL in gitlab-ci.yml
Filed under Git
Learn how to use cURL commands to make HTTP requests in a GitLab CI pipeline.
Guide to Passing GitLab Artifacts to Another Stage
Filed under DevOps
Learn how to pass artifacts from one GitLab stage to another.