Skip to content

Commit eee0de8

Browse files
authored
fix regression introduced in #760 (#764)
1 parent de1537a commit eee0de8

File tree

2 files changed

+24
-5
lines changed

2 files changed

+24
-5
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
// Copyright 2019 Confluent Inc.
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
//
15+
// Refer to LICENSE for more information.
16+
17+
18+
namespace Confluent.Kafka
19+
{
20+
internal interface IDeliveryHandler
21+
{
22+
void HandleDeliveryReport(DeliveryReport<Null, Null> deliveryReport);
23+
}
24+
}

src/Confluent.Kafka/Producer.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@ internal class Config
4040
public Action<string> statisticsHandler;
4141
}
4242

43-
private interface IDeliveryHandler
44-
{
45-
void HandleDeliveryReport(DeliveryReport<Null, Null> deliveryReport);
46-
}
47-
4843
private ISerializer<TKey> keySerializer;
4944
private ISerializer<TValue> valueSerializer;
5045
private IAsyncSerializer<TKey> asyncKeySerializer;

0 commit comments

Comments
 (0)