Posts
All the articles I've posted.
Using Solr (Part 3): SolrJ in an Application
Java examples introduce SolrJ dependency configuration, entities annotated with Field, and a shared SolrClient wrapper. The article demonstrates adding, updating, deleting, and querying data, verifies the results in the Solr console, and explains why the core must be specified when committing.
Using Solr (Part 2): Full and Incremental Imports from MySQL
Explains how to configure Solr DataImportHandler for full and incremental imports from MySQL and periodically refresh data with operating-system scheduled jobs. It also covers tinyint fields, multivalued fields, and Transformers, and outlines DIH components and changes in later versions.
Using Solr (Part 1): Installation, Core Management, Queries, and Fixing CoreContainer Initialization Errors
Introduces Solr installation and startup, custom cores and field configuration, and demonstrates adding, querying, and deleting data through the console and curl. It also covers stopping Solr, deleting cores, and checking the core name when copied configuration causes a CoreContainer initialization failure.
Using Git Rebase
Uses a branch merge that requires combining multiple commits to introduce interactive Git rebase and commit-message editing. It compares squash, fixup, commit --amend, and resetting followed by a new commit, and explains how to abort an unfinished rebase.
Using Docker: Network Configuration
Examples of communication between containers compare Docker’s default network, links, and a custom bridge network. The article shows how to inspect container IP addresses and network details, and how a custom network lets containers reach one another by name without depending on specific IP addresses.
Distributed Transactions with Seata: Installing Seata Server and Using AT Mode
A rollback problem involving calls between Spring Cloud microservices introduces Seata Server installation, database storage configuration, and Eureka registration. AT mode, the undo_log table, and a global transaction annotation are then used to verify rollback after an exception in a cross-service call.
MySQL Primary-Replica Replication: Detailed Setup and Troubleshooting Replicas That Stop Synchronizing
Sets up primary-replica replication using multiple local MySQL instances and introduces replication threads, binlog formats, and configuration steps. Based on actual errors, it covers authentication failures and replicas that stop synchronizing, and discusses asynchronous and semisynchronous replication and common replication topologies.
Using Docker: Building a CentOS Image with Java and Maven
Using Docker on macOS, this article records building a CentOS image with a Dockerfile and configuring Java and Maven. It also covers container users, running a Java application, and saving, tagging, pushing, and pulling the custom image.