{"action":"created","issue":{"url":"https://api.github.com/repos/confluentinc/confluent-kafka-dotnet/issues/123","repository_url":"https://api.github.com/repos/confluentinc/confluent-kafka-dotnet","labels_url":"https://api.github.com/repos/confluentinc/confluent-kafka-dotnet/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/confluentinc/confluent-kafka-dotnet/issues/123/comments","events_url":"https://api.github.com/repos/confluentinc/confluent-kafka-dotnet/issues/123/events","html_url":"https://github.com/confluentinc/confluent-kafka-dotnet/issues/123","id":217345292,"number":123,"title":"CommitAsync","user":{"login":"vaibhavg1985apr","id":26610607,"avatar_url":"https://avatars1.githubusercontent.com/u/26610607?v=3","gravatar_id":"","url":"https://api.github.com/users/vaibhavg1985apr","html_url":"https://github.com/vaibhavg1985apr","followers_url":"https://api.github.com/users/vaibhavg1985apr/followers","following_url":"https://api.github.com/users/vaibhavg1985apr/following{/other_user}","gists_url":"https://api.github.com/users/vaibhavg1985apr/gists{/gist_id}","starred_url":"https://api.github.com/users/vaibhavg1985apr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vaibhavg1985apr/subscriptions","organizations_url":"https://api.github.com/users/vaibhavg1985apr/orgs","repos_url":"https://api.github.com/users/vaibhavg1985apr/repos","events_url":"https://api.github.com/users/vaibhavg1985apr/events{/privacy}","received_events_url":"https://api.github.com/users/vaibhavg1985apr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-03-27T19:10:18Z","updated_at":"2017-03-29T02:09:29Z","closed_at":null,"body":"Hi,\r\n\r\nI am getting below error when i am using below line of code. Could you please help me how to fix that.\r\n\r\nCode:\r\nvar result = consumer.CommitAsync(msg).Result;\r\n\r\nError:\r\nSystem.AggregateException was caught\r\n  _HResult=-2146233088\r\n  _message=One or more errors occurred.\r\n  HResult=-2146233088\r\n  IsTransient=false\r\n  Message=One or more errors occurred.\r\n  Source=mscorlib\r\n  StackTrace:\r\n       at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)\r\n       at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)\r\n       at System.Threading.Tasks.Task`1.get_Result()\r\n       at InDrive.RdKafkaQueueProcessor.<>c__DisplayClass4.<>c__DisplayClass6.<DequeueMessages>b__3() in c:\\ProjectsStashMT\\hum_mt\\Common\\RdKafkaQueueProcessor.cs:line 312\r\n  InnerException: System.EntryPointNotFoundException\r\n       _HResult=-2146233053\r\n       _message=Unable to find an entry point named 'rd_kafka_commit_queue' in DLL 'librdkafka'.\r\n       HResult=-2146233053\r\n       IsTransient=false\r\n       Message=Unable to find an entry point named 'rd_kafka_commit_queue' in DLL 'librdkafka'.\r\n       Source=Confluent.Kafka\r\n       ResourceId=0\r\n       TypeName=\"\"\r\n       StackTrace:\r\n            at Confluent.Kafka.Impl.LibRdKafka.NativeMethods.rd_kafka_commit_queue(IntPtr rk, IntPtr offsets, IntPtr rkqu, CommitDelegate cb, IntPtr opaque)\r\n            at Confluent.Kafka.Impl.LibRdKafka.commit_queue(IntPtr rk, IntPtr offsets, IntPtr rkqu, CommitDelegate cb, IntPtr opaque)\r\n            at Confluent.Kafka.Impl.SafeKafkaHandle.commitSync(ICollection`1 offsets)\r\n            at Confluent.Kafka.Impl.SafeKafkaHandle.<>c__DisplayClass28_0.<CommitAsync>b__0()\r\n            at System.Threading.Tasks.Task`1.InnerInvoke()\r\n            at System.Threading.Tasks.Task.Execute()\r\n         --- End of stack trace from previous location where exception was thrown ---\r\n            at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n            at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n            at Confluent.Kafka.Impl.SafeKafkaHandle.<CommitAsync>d__28.MoveNext()\r\n         --- End of stack trace from previous location where exception was thrown ---\r\n            at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n            at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n            at Confluent.Kafka.Consumer.<CommitAsync>d__57.MoveNext()\r\n         --- End of stack trace from previous location where exception was thrown ---\r\n            at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n            at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n            at Confluent.Kafka.Consumer.<CommitAsync>d__56.MoveNext()\r\n       InnerException: \r\n"},"comment":{"url":"https://api.github.com/repos/confluentinc/confluent-kafka-dotnet/issues/comments/289960489","html_url":"https://github.com/confluentinc/confluent-kafka-dotnet/issues/123#issuecomment-289960489","issue_url":"https://api.github.com/repos/confluentinc/confluent-kafka-dotnet/issues/123","id":289960489,"user":{"login":"mhowlett","id":19174,"avatar_url":"https://avatars1.githubusercontent.com/u/19174?v=3","gravatar_id":"","url":"https://api.github.com/users/mhowlett","html_url":"https://github.com/mhowlett","followers_url":"https://api.github.com/users/mhowlett/followers","following_url":"https://api.github.com/users/mhowlett/following{/other_user}","gists_url":"https://api.github.com/users/mhowlett/gists{/gist_id}","starred_url":"https://api.github.com/users/mhowlett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhowlett/subscriptions","organizations_url":"https://api.github.com/users/mhowlett/orgs","repos_url":"https://api.github.com/users/mhowlett/repos","events_url":"https://api.github.com/users/mhowlett/events{/privacy}","received_events_url":"https://api.github.com/users/mhowlett/received_events","type":"User","site_admin":false},"created_at":"2017-03-29T02:09:29Z","updated_at":"2017-03-29T02:09:29Z","body":"it appears as though it was likely finding the version of librdkafka referenced by rdkafka-dotnet.\r\n\r\nNote that you shouldn't reference the native .dll's in you C# app. Also you shouldn't need to explicitly reference librdkafka.redist - this should be automatic when you reference Confluent.Kafka.\r\n\r\nthere are some packaging problems we are aware of, see #95 - maybe this is all related. Regardless, i am thinking about changing how the native libraries are loaded to be more explicit about location (which may resolve your problems).\r\n\r\ni have to apologize for not being able to dig deeper right now - i'm very time constrained this week. Also thanks greatly for providing the detailed feedback."}}
{"actor":{"display_login":"mhowlett"}}