This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Topic("pubsub", "dapreventhub")] | |
[HttpPost("/receiver")] | |
public async Task<IActionResult> Subscriber(WeatherChange weatherChange) | |
{ | |
_logger.LogInformation("Received Weather: {@WeatherChange}", weatherChange); | |
return Ok(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
✅ You're up and running! Dapr logs will appear here. | |
INFO[1851] application discovered on port 5200 app_id=subscriber-service instance=Kshitijs-MacBook-Pro.local scope=dapr.runtime type=log ver=1.2.2 | |
INFO[1851] application configuration loaded app_id=subscriber-service instance=Kshitijs-MacBook-Pro.local scope=dapr.runtime type=log ver=1.2.2 | |
INFO[1851] actor runtime started. actor idle timeout: 1h0m0s. actor scan interval: 30s app_id=subscriber-service instance=Kshitijs-MacBook-Pro.local scope=dapr.runtime.actor type=log ver=1.2.2 | |
INFO[1851] app is subscribed to the following topics: [dapreventhub] through pubsub=pubsub app_id=subscriber-service instance=Kshitijs-MacBook-Pro.local scope=dapr.runtime type=log ver=1.2.2 | |
INFO[1851] placement tables updated, version: 0 app_id=subscriber-service instance=Kshitijs-MacBook-Pro.local scope=dapr.runtime.actor.internal.placement type=log ver=1.2.2 | |
INFO[1856] dapr initialized. Status: Running. Init Elapsed 1.856553631e+06ms app_id=su |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DaprAdventures.SubscriberService.Controllers.WeatherForecastController: Information: Received Weather: DaprAdventures.SubscriberService.Models.WeatherChange | |
info: DaprAdventures.SubscriberService.Controllers.WeatherForecastController[0] | |
Received Weather: DaprAdventures.SubscriberService.Models.WeatherChange |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DaprAdventures.SubscriberService.Controllers.WeatherForecastController: Information: Received Weather: DaprAdventures.SubscriberService.Models.WeatherChange | |
info: DaprAdventures.SubscriberService.Controllers.WeatherForecastController[0] | |
Received Weather: DaprAdventures.SubscriberService.Models.WeatherChange |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: dapr.io/v1alpha1 | |
kind: Component | |
metadata: | |
name: mongo | |
spec: | |
type: state.mongodb | |
version: v1 | |
metadata: | |
- name: host | |
secretKeyRef: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: dapr.io/v1alpha1 | |
kind: Component | |
metadata: | |
name: mongo | |
spec: | |
type: state.mongodb | |
version: v1 | |
metadata: | |
- name: host | |
secretKeyRef: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: dapr.io/v1alpha1 | |
kind: Component | |
metadata: | |
name: envvar-secret-store | |
namespace: default | |
spec: | |
type: secretstores.local.env | |
version: v1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ℹ️ Starting Dapr with id savestate-service. HTTP Port: 5480. gRPC Port: 5401 | |
INFO[0000] starting Dapr Runtime -- version 1.2.2 -- commit 8aabc2c app_id=savestate-service instance=Kshitijs-MacBook-Pro.local scope=dapr.runtime type=log ver=1.2.2 | |
INFO[0000] log level set to: debug app_id=savestate-service instance=Kshitijs-MacBook-Pro.local scope=dapr.runtime type=log ver=1.2.2 | |
INFO[0000] metrics server started on :54815/ app_id=savestate-service instance=Kshitijs-MacBook-Pro.local scope=dapr.metrics type=log ver=1.2.2 | |
INFO[0000] standalone mode configured app_id=savestate-service instance=Kshitijs-MacBook-Pro.local scope=dapr.runtime type=log ver=1.2.2 | |
INFO[0000] app id: savestate-service app_id=savestate-service instance=Kshitijs-MacBook-Pro.local scope=dapr.runtime type=log ver=1.2.2 | |
INFO[0000] mTLS is disabled. Skipping certificate request and tls validation app_id=savestate-service instance=Kshitijs-MacBook-Pro.local scope=dapr.runt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: dapr.io/v1alpha1 | |
kind: Component | |
metadata: | |
name: mongo | |
spec: | |
type: state.mongodb | |
version: v1 | |
metadata: | |
- name: host | |
secretKeyRef: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DEBU[0000] found component. name: mongo, type: state.mongodb/v1 app_id=savestate-service instance=Kshitijs-MacBook-Pro.local scope=dapr.runtime type=log ver=1.2.2 | |
DEBU[0000] loading component. name: envvar-secret-store, type: secretstores.local.env/v1 app_id=savestate-service instance=Kshitijs-MacBook-Pro.local scope=dapr.runtime type=log ver=1.2.2 | |
INFO[0000] component loaded. name: envvar-secret-store, type: secretstores.local.env/v1 app_id=savestate-service instance=Kshitijs-MacBook-Pro.local scope=dapr.runtime type=log ver=1.2.2 | |
DEBU[0000] loading component. name: mongo, type: state.mongodb/v1 app_id=savestate-service instance=Kshitijs-MacBook-Pro.local scope=dapr.runtime type=log ver=1.2.2 | |
INFO[0000] waiting for all outstanding components to be processed app_id=savestate-service instance=Kshitijs-MacBook-Pro.local scope=dapr.runtime type=log ver=1.2.2 | |
INFO[0000] component loaded. name: mongo, type: state.mongodb/v1 app_id=savestate-service instance=Kshitijs-MacBook-Pro.local scope=dapr.runtime type= |