KETTLE's resource library configuration and environment deployment

Kettle's environment deployment and resource library configuration

1. Kettle's environment deployment

Before using kettle, you must first deploy the JVM environment, that is, configure the JDK first, so that it can be used normally. The process of installing kettle is not detailed here. After the kettle is installed, find spoon.bat and spoon under the kettle directory. The sh file and the spoon.sh file are actually the startup file for starting kettle under linux. The spoon.bat file is the startup file for starting kettle under windows. Just double-click the spoon.bat file on windows and run the spoon.sh script under linux. That's it.

2. Resource library configuration

Kettle's transformation file and job file can be stored locally or in a resource library. In actual business, the resource library is generally used for storage. Here's how to use them.

  1. After opening the kettle, you can see "connect" in the upper right corner, and then click Connect
    Insert picture description here
  2. After clicking Connect, click Repository Manager to enter the resource library configuration interface
    Insert picture description here
  3. After entering the resource library configuration interface, click add "add
    Insert picture description here
  4. After clicking add, select Other repository
    Insert picture description here
  5. After selecting Other Repository, you can see the Database Repository and File Repository. Here you can choose according to personal needs or business needs. Generally, you will choose the database type of resource library. Let me talk about it here. After selecting Database Repository, you can use the metadata in the resource library to extract the blood relationship between the data and the data. This is also based on business needs. The data content in the metadata database will be introduced later. After selecting the resource library type, click Get Started.
    Insert picture description here
  6. After clicking Get Started, continue to click Database Connect. The Display Name can be omitted.
    Insert picture description here
  7. After clicking the database connection, the interface shown in the figure below will appear. We select "new" and create a new resource library. The content in the green box in the figure below is a list of established resources.
    Insert picture description here
  8. After entering the new database connection interface, we can see that there are multiple databases in the list that can be connected and used as a resource library. Here we take mysql as an example. After selecting mysql, we can see the jdbc parameter of the database connection on the right side. In the configuration interface, fill in the relevant parameters according to the prompt information. After you fill in the configuration parameters, you need to fill in the connection name, and then click Test to see if you can connect to the database normally. After the test is successful, you can click OK , The configuration of the resource library is complete.
    Insert picture description here

Guess you like

Origin blog.csdn.net/AnameJL/article/details/109610932