CAP icon indicating copy to clipboard operation
CAP copied to clipboard

Some questons about CAP develop version

Open zzyykk123456 opened this issue 9 years ago • 1 comments

@yuleyule66, (1)In CAP develop version,The Sample Sample.Kafka.SqlServer is based on Kafka and SqlServer,but why is " _capBus.Publish("sample.rabbitmq.mysql", "");” and "await _capBus.PublishAsync("sample.rabbitmq.mysql", "");" in valuesController . (2)How subscribe happens?It means how the following code run? [NonAction] [CapSubscribe("sample.kafka.sqlserver", Group = "test")] public void KafkaTest() { Console.WriteLine("[sample.kafka.sqlserver] message received"); Debug.WriteLine("[sample.kafka.sqlserver] message received"); } Thank you!

zzyykk123456 avatar Aug 14 '17 09:08 zzyykk123456

Hi, I suggest you read the wiki first. https://github.com/dotnetcore/CAP/wiki

yang-xiaodong avatar Aug 14 '17 09:08 yang-xiaodong