Revisiting the kettle.properties file

The kettle.properties file is used to define variables with JVM scope. If a variable meets the following conditions:

  • It is going to be used in several places in your project
  • Its value is fixed—you don't expect it to change—and known beforehand

Then it is a perfect candidate to be defined in the kettle.properties file. Examples of variables that you define here are paths to common directories, for example, directories for logs, temporary files, or input files, SMTP settings, or database connection settings.

Get Learning Pentaho Data Integration 8 CE - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.