[VOL-4663] create voltha event topic (voltha.events) with conifgurable no of partitions and replication factor
Change-Id: Ie7cde57f423c2e947cbc9a42f86f96fb6ac97826
diff --git a/pkg/mocks/mockEventproxy.go b/pkg/mocks/mockEventproxy.go
index 892e159..2f63de7 100644
--- a/pkg/mocks/mockEventproxy.go
+++ b/pkg/mocks/mockEventproxy.go
@@ -21,6 +21,7 @@
"context"
"errors"
+ "github.com/opencord/voltha-lib-go/v7/pkg/events/eventif"
"github.com/opencord/voltha-protos/v5/go/voltha"
)
@@ -73,3 +74,9 @@
// Stop stops the proxy
func (me *MockEventProxy) Stop() {
}
+
+//SendDeviceEventWithKey mocks SendDeviceEventWithKey
+func (me *MockEventProxy) SendDeviceEventWithKey(ctx context.Context, deviceEvent *voltha.DeviceEvent, category eventif.EventCategory,
+ subCategory eventif.EventSubCategory, raisedTs int64, key string) error {
+ return nil
+}