I'm trying to use MergeContent to merge json documents. I have the Header.
Demarcator, and Footer properties pointing to files with [ , ]
respectively. I left all other properties the same, and set Max Entries to
5 and Max Bin Age to 10 seconds.

I have a simple flow with ListenUDP -> MergeContent -> PutSolrContentStream
(from the pull request). If I send a bunch of json documents over UDP, most
of them will merge correctly, but I'll see a couple where the demarcator
didn't get inserted between two json documents.

Any thoughts as to why this would happen?

I added a significant amount of logging to the getDescriptorFileContent()
method in MergeContent to see if there was a reason why it would return
null for the demarcator, but nothing obvious is really jumping out at me.

Reply via email to