39 Spring AI interview questions with direct answers and code for Spring AI 2.0: ChatClient, advisors, chat memory, structured output, RAG, tool calling and MCP.
Build a Spring Boot 4 RAG service with Spring AI 2.0 and pgvector: ingest PDFs and Markdown, answer with cited sources, run on OpenAI or local Ollama, and test it.
Build a real MCP server in Java with Spring AI 2.0 and @McpTool: stdio vs Streamable HTTP, testing with curl and the Inspector, connecting Claude, a Spring AI client and security.
Every Spring Boot 4 change that matters: API versioning, HTTP service clients, @Retryable, JSpecify, Jackson 3, modular starters, a 3.5 to 4.x migration checklist and 15 interview questions.
50+ Kafka interview questions with direct answers: partitions, acks and ISR, KRaft vs ZooKeeper, exactly-once, KIP-848 rebalancing, share groups and Spring Kafka.
How Kafka consumer groups split partitions, what an offset commit stores, what triggers a rebalance, eager vs cooperative vs KIP-848, and how to measure lag. Real output from a Kafka 4.4 broker.
A runnable Spring Boot 4 Kafka example: KafkaTemplate with keys, @KafkaListener with manual ack, idempotent consumer, @RetryableTopic retries, a dead-letter topic and a Testcontainers test.
Interview questions on Java 21 to 25 features with answers and real output: records, sealed classes, pattern matching, virtual threads, scoped values and what is still preview.