Skip to content

Commit

Permalink
Adding TransactionProcessor to map on returning batch of data
Browse files Browse the repository at this point in the history
  • Loading branch information
harishreedharan committed Jul 14, 2014
1 parent 86aa274 commit 8136aa6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ private class SparkAvroCallbackHandler(val threads: Int, val channel: Channel,
transactionExecutorOpt.map(executor => {
executor.submit(processor)
})
processorMap.put(sequenceNumber, processor)
// Wait until a batch is available - will be an error if
processor.getEventBatch
}
Expand Down

0 comments on commit 8136aa6

Please sign in to comment.