User Tools

Site Tools


file_replicator

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
file_replicator [2018/11/07 12:20]
timothy.pike
file_replicator [2018/11/07 12:20] (current)
timothy.pike
Line 7: Line 7:
 ^ Directive ​     ^ Example ^ Use ^ Required ^ ^ Directive ​     ^ Example ^ Use ^ Required ^
 | handler | %%<​handler>​com.perspectium.replicator.file.XMLFileSubscriber</​handler>​%% \\ \\ Available file handlers are:\\ com.perspectium.replicator.file.CSVFileSubscriber \\ com.perspectium.replicator.file.JSONFileSubscriber \\ com.perspectium.replicator.file.XMLFileSubscriber \\ com.perspectium.replicator.file.HDFSFileSubscriber*| The name of the file handler class |Required | | handler | %%<​handler>​com.perspectium.replicator.file.XMLFileSubscriber</​handler>​%% \\ \\ Available file handlers are:\\ com.perspectium.replicator.file.CSVFileSubscriber \\ com.perspectium.replicator.file.JSONFileSubscriber \\ com.perspectium.replicator.file.XMLFileSubscriber \\ com.perspectium.replicator.file.HDFSFileSubscriber*| The name of the file handler class |Required |
-| file_name | %%<​file_name>​records.xml</​file_name>​%%| The name of the file to save records into |Required |+| file_name | %%<​file_name>​records.csv</​file_name>​%%| The name of the file to save records into |Required |
 | files_directory | %%<​files_directory>/​Downloads/​subscribefiles</​files_directory>​%%| The directory where the file will be saved to |Required | | files_directory | %%<​files_directory>/​Downloads/​subscribefiles</​files_directory>​%%| The directory where the file will be saved to |Required |
 | buffered_writes | %%<​buffered_writes>​250</​buffered_writes>​%%| The number of records to buffer before writing to file (to improve performance and not write to the file on reading each record) |Optional | | buffered_writes | %%<​buffered_writes>​250</​buffered_writes>​%%| The number of records to buffer before writing to file (to improve performance and not write to the file on reading each record) |Optional |
file_replicator.txt ยท Last modified: 2018/11/07 12:20 by timothy.pike