Commit 29b45a33 authored by yangxiaodong's avatar yangxiaodong

Rename class.

parent b0dcd64b
......@@ -5,7 +5,7 @@ using System.Threading.Tasks;
namespace Cap.Consistency.Job
{
public interface IProcessor
public interface IJobProcessor
{
Task ProcessAsync(ProcessingContext context);
}
......
......@@ -27,8 +27,8 @@ namespace Microsoft.AspNetCore.Builder
}
var provider = app.ApplicationServices;
var bootstrapper = provider.GetRequiredService<ITopicServer>();
bootstrapper.Start();
var bootstrapper = provider.GetRequiredService<IBootstrapper>();
bootstrapper.BootstrapAsync();
return app;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment