Browse Source

add samples project of kafka.

master
yangxiaodong 7 years ago
parent
commit
33f5c903b7
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      samples/Sample.Kafka/Controllers/ValuesController.cs
  2. +1
    -0
      samples/Sample.Kafka/Sample.Kafka.csproj

+ 1
- 1
samples/Sample.Kafka/Controllers/ValuesController.cs View File

@@ -2,8 +2,8 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using Cap.Consistency.Attributes;
using Cap.Consistency.Consumer; using Cap.Consistency.Consumer;
using Cap.Consistency.Kafka;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;


namespace Sample.Kafka.Controllers namespace Sample.Kafka.Controllers


+ 1
- 0
samples/Sample.Kafka/Sample.Kafka.csproj View File

@@ -17,6 +17,7 @@
<DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="1.0.1" /> <DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="1.0.1" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\..\src\Cap.Consistency.Kafka\Cap.Consistency.Kafka.csproj" />
<ProjectReference Include="..\..\src\Cap.Consistency\Cap.Consistency.csproj" /> <ProjectReference Include="..\..\src\Cap.Consistency\Cap.Consistency.csproj" />
</ItemGroup> </ItemGroup>




Loading…
Cancel
Save