How it works # Hot deployment based on Java HotSwap # With some IDEs you can perform changes on your java classes, compile them and test the results without redeploying the project or restarting your server. This approach is based in JVM HotSwap . HotSwap allows debuggers to update class bytecode, using the same class identity. This meant that all objects could refer to an updated class and execute new code when their methods were called, preventing the need to reload a container whenever class bytecode was changed Unfortunately, this redefinition is limited only to changing method bodies -- it cannot either add methods or fields or otherwise change anything else, except for the method bodies. Neither can you "hot deploy" JSPs and some other resources. Solution 1 Hot deployment beyond HotSwap with JRebel # To support the "hot deployment" of deeper changes in Java classes, you can use JRebel technology . JReb...
APACHE KAFKA More than 80% of all Fortune 100 companies trust, and use Kafka. Apache Kafka is an open-source distributed event streaming platform used by thousands of companies for high-performance data pipelines, streaming analytics, data integration, and mission-critical applications. APACHE KAFKA QUICKSTART STEP 1: GET KAFKA Download the latest Kafka release and extract it: $ tar -xzf kafka_2.13-3.2.0.tgz $ cd kafka_2.13-3.2.0 STEP 2: START THE KAFKA ENVIRONMENT NOTE: Your local environment must have Java 8+ installed. Run the following commands in order to start all services in the correct order: # Start the ZooKeeper service # Note: Soon, ZooKeeper will no longer be required by Apache Kafka. $ bin/zookeeper-server-start.sh config/zookeeper.properties Open another terminal session and run: # Start the Kafka broker service $ bin/kafka-server-start.sh config/server.properties Once all services have successfully launched, you will have a basic Kafka enviro...
Comments
Post a Comment