在Spark Streaming中确认RabbitMQ发出的消息

时间:2018-07-20 09:03:13

标签: apache-spark rabbitmq spark-streaming stratio

我正在使用Stratio/spark-rabbitmq来读取RabbitMQ的消息。一旦在火花中完成消息的处理,我就找不到一种确认消息的方法。

以下是代码片段:

Index was outside the bounds of the array. at System.Web.HttpRawUploadedContent.get_Item(Int32 index) at 
System.Web.HttpMultipartContentTemplateParser.GetNextLine() at System.Web.HttpMultipartContentTemplateParser.ParseIntoElementList() at 
System.Web.HttpMultipartContentTemplateParser.Parse(HttpRawUploadedContent data, Int32 length, Byte[] boundary, Encoding encoding) at 
System.Web.HttpRequest.GetMultipartContent() at System.Web.HttpRequest.FillInFormCollection() at 
System.Web.HttpRequest.EnsureForm() at System.Web.HttpRequest.get_Form() at System.Web.HttpRequest.get_HasForm() at 
System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) at System.Web.UI.Page.DeterminePostBackMode() at 
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 

0 个答案:

没有答案