Call exec for each item in the stack the log the output using the defined method.
Config options:
The StackItProcessorMysqlInsert provider perform an insert for each data in the stack
Dependances:
Config options:
Sample config:
mysql_server=locahost
mysql_username=foo
mysql_password=bar
mysql_database=mydb
mysql_insert_table=order_log
mysql_insert_columns=customer_id,order_amount,order_date
The StackItProcessorMySQLMassInsert provider will use the same config entries than the StackItProcessorMySQLInsert but all the stacked data will be inserted in one query.
The StackItProcessorPostgreSQLInsert processor perform an insert query for each data in the stack
Dependances:
Config options:
Config sample:
pg_conn_str="dbname=dbtest"
pg_insert_table="order_log"
pg_insert_columns="customer_id,order_amount,order_date"
The StackItProcessorPostgreSQLCopyFromStdin will store the stacked data in a PostgreSQL database using a “copy from stdin” method rather than many inserts.
Config options:
Config sample:
pg_conn_str="dbname=dbtest"
pg_insert_table="order_log"
pg_insert_columns="customer_id,order_amount,order_date"