<?xml version="1.0" encoding="UTF-8" standalone="yes"?><template><description>Ingest GDELT to mongo</description><name>mongoGDELT</name><snippet><processors><id>480877a4-f349-4ef7-9538-8e3e3e108e06</id><parentGroupId>b9038bf9-0042-4f77-91e7-f4b0edbda7b2</parentGroupId><position><x>970.2632674873253</x><y>117.5702899657357</y></position><config><bulletinLevel>WARN</bulletinLevel><comments></comments><concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount><defaultConcurrentTasks><entry><key>TIMER_DRIVEN</key><value>1</value></entry><entry><key>EVENT_DRIVEN</key><value>0</value></entry><entry><key>CRON_DRIVEN</key><value>1</value></entry></defaultConcurrentTasks><defaultSchedulingPeriod><entry><key>TIMER_DRIVEN</key><value>0 sec</value></entry><entry><key>CRON_DRIVEN</key><value>* * * * * ?</value></entry></defaultSchedulingPeriod><descriptors><entry><key>Mongo URI</key><value><description>MongoURI, typically of the form: mongodb://host1[:port1][,host2[:port2],...]</description><displayName>Mongo URI</displayName><dynamic>false</dynamic><name>Mongo URI</name><required>true</required><sensitive>false</sensitive><supportsEl>false</supportsEl></value></entry><entry><key>Mongo Database Name</key><value><description>The name of the database to use</description><displayName>Mongo Database Name</displayName><dynamic>false</dynamic><name>Mongo Database Name</name><required>true</required><sensitive>false</sensitive><supportsEl>false</supportsEl></value></entry><entry><key>Mongo Collection Name</key><value><description>The name of the collection to use</description><displayName>Mongo Collection Name</displayName><dynamic>false</dynamic><name>Mongo Collection Name</name><required>true</required><sensitive>false</sensitive><supportsEl>false</supportsEl></value></entry><entry><key>Mode</key><value><allowableValues><displayName>insert</displayName><value>insert</value></allowableValues><allowableValues><displayName>update</displayName><value>update</value></allowableValues><defaultValue>insert</defaultValue><description>Indicates whether the processor should insert or update content</description><displayName>Mode</displayName><dynamic>false</dynamic><name>Mode</name><required>true</required><sensitive>false</sensitive><supportsEl>false</supportsEl></value></entry><entry><key>Upsert</key><value><allowableValues><displayName>true</displayName><value>true</value></allowableValues><allowableValues><displayName>false</displayName><value>false</value></allowableValues><defaultValue>false</defaultValue><description>When true, inserts a document if no document matches the update query criteria; this property is valid only when using update mode, otherwise it is ignored</description><displayName>Upsert</displayName><dynamic>false</dynamic><name>Upsert</name><required>true</required><sensitive>false</sensitive><supportsEl>false</supportsEl></value></entry><entry><key>Update Query Key</key><value><defaultValue>_id</defaultValue><description>Key name used to build the update query criteria; this property is valid only when using update mode, otherwise it is ignored</description><displayName>Update Query Key</displayName><dynamic>false</dynamic><name>Update Query Key</name><required>true</required><sensitive>false</sensitive><supportsEl>false</supportsEl></value></entry><entry><key>Write Concern</key><value><allowableValues><displayName>ACKNOWLEDGED</displayName><value>ACKNOWLEDGED</value></allowableValues><allowableValues><displayName>UNACKNOWLEDGED</displayName><value>UNACKNOWLEDGED</value></allowableValues><allowableValues><displayName>FSYNCED</displayName><value>FSYNCED</value></allowableValues><allowableValues><displayName>JOURNALED</displayName><value>JOURNALED</value></allowableValues><allowableValues><displayName>REPLICA_ACKNOWLEDGED</displayName><value>REPLICA_ACKNOWLEDGED</value></allowableValues><allowableValues><displayName>MAJORITY</displayName><value>MAJORITY</value></allowableValues><defaultValue>ACKNOWLEDGED</defaultValue><description>The write concern to use</description><displayName>Write Concern</displayName><dynamic>false</dynamic><name>Write Concern</name><required>true</required><sensitive>false</sensitive><supportsEl>false</supportsEl></value></entry><entry><key>Character Set</key><value><defaultValue>UTF-8</defaultValue><description>The Character Set in which the data is encoded</description><displayName>Character Set</displayName><dynamic>false</dynamic><name>Character Set</name><required>true</required><sensitive>false</sensitive><supportsEl>false</supportsEl></value></entry></descriptors><lossTolerant>false</lossTolerant><penaltyDuration>30 sec</penaltyDuration><properties><entry><key>Mongo URI</key><value>mongodb://localhost:27017</value></entry><entry><key>Mongo Database Name</key><value>gdelttest</value></entry><entry><key>Mongo Collection Name</key><value>unmatched</value></entry><entry><key>Mode</key></entry><entry><key>Upsert</key></entry><entry><key>Update Query Key</key></entry><entry><key>Write Concern</key></entry><entry><key>Character Set</key></entry></properties><runDurationMillis>25</runDurationMillis><schedulingPeriod>0 sec</schedulingPeriod><schedulingStrategy>TIMER_DRIVEN</schedulingStrategy><yieldDuration>1 sec</yieldDuration></config><name>PutMongo</name><relationships><autoTerminate>true</autoTerminate><description>All FlowFiles that cannot be written to MongoDB are routed to this relationship</description><name>failure</name></relationships><relationships><autoTerminate>true</autoTerminate><description>All FlowFiles that are written to MongoDB are routed to this relationship</description><name>success</name></relationships><state>STOPPED</state><style/><supportsEventDriven>true</supportsEventDriven><supportsParallelProcessing>true</supportsParallelProcessing><type>org.apache.nifi.processors.mongodb.PutMongo</type></processors></snippet><timestamp>09/21/2015 14:49:14 EDT</timestamp></template>