diff --git a/src/Cap.Consistency/KafkaConsistency.cs b/src/Cap.Consistency/KafkaConsistency.cs deleted file mode 100644 index 0aee22d..0000000 --- a/src/Cap.Consistency/KafkaConsistency.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; -using System.Linq; -using Cap.Consistency.Consumer; -using Microsoft.Extensions.DependencyInjection; -using System.Threading.Tasks; - -namespace Cap.Consistency -{ - public class KafkaConsistency : IRoute - { - private IServiceProvider _serviceProvider; - private IEnumerable _handlers; - - public KafkaConsistency(IServiceProvider serviceProvider) { - _serviceProvider = serviceProvider; - } - - public void Start() { - _handlers = _serviceProvider.GetServices(); - var services = _serviceProvider.GetServices(); - foreach (var handler in _handlers) { - handler.Start(services); - } - } - - public void Stop() { - foreach (var handler in _handlers) { - handler.Stop(); - } - } - - public async Task Start() { - - } - - } -} diff --git a/src/Cap.Consistency/Models/IConsumerModel.cs b/src/Cap.Consistency/Models/IConsumerModel.cs deleted file mode 100644 index 437e782..0000000 --- a/src/Cap.Consistency/Models/IConsumerModel.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace Cap.Consistency.Models -{ - public interface IConsumerModel - { - string TopicName { get; set; } - - } -} diff --git a/src/Cap.Consistency/RouteTable.cs b/src/Cap.Consistency/RouteTable.cs deleted file mode 100644 index b45953c..0000000 --- a/src/Cap.Consistency/RouteTable.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using Cap.Consistency.Abstractions; - -namespace Cap.Consistency -{ - public class RouteTable : IReadOnlyList - { - - public RouteTable() { - - } - - public RouteTable(List messageMethods) { - QMessageMethods = messageMethods; - } - - public ConsumerExecutorDescriptor this[int index] { - get { - throw new NotImplementedException(); - } - } - - public int Count { - get { - throw new NotImplementedException(); - } - } - - public List QMessageMethods { get; set; } - - public IEnumerator GetEnumerator() { - throw new NotImplementedException(); - } - - IEnumerator IEnumerable.GetEnumerator() { - throw new NotImplementedException(); - } - } -}