changed names
This commit is contained in:
parent
81fd140346
commit
072726dd06
@ -23,7 +23,7 @@ func handleMessage(msg types.BrokerMessage) cm.Result[string, struct{}, string]
|
|||||||
|
|
||||||
// TODO implement the logic to get the destination topic from the config
|
// TODO implement the logic to get the destination topic from the config
|
||||||
// dest_topic := config.GetAll()
|
// dest_topic := config.GetAll()
|
||||||
dest_topic := msg.Subject + ".reply"
|
dest_topic := "finish"
|
||||||
|
|
||||||
// TASK
|
// TASK
|
||||||
|
|
||||||
|
@ -12,12 +12,12 @@ metadata:
|
|||||||
stream-processing,nats-client,tinygo,golang
|
stream-processing,nats-client,tinygo,golang
|
||||||
spec:
|
spec:
|
||||||
components:
|
components:
|
||||||
- name: go-data-stream
|
- name: go_stream_processor
|
||||||
type: component
|
type: component
|
||||||
properties:
|
properties:
|
||||||
# To use the locally compiled code in this folder, use the line below instead after running `wash build`:
|
# To use the locally compiled code in this folder, use the line below instead after running `wash build`:
|
||||||
# image: file://./build/echo_messaging_s.wasm
|
# image: file://./build/echo_messaging_s.wasm
|
||||||
image: gitea.rebus.ninja/lore/wasm-nats-stream-client:1.0.1
|
image: gitea.rebus.ninja/lore/wasm-nats-stream-client:1.0.3
|
||||||
id: stream
|
id: stream
|
||||||
config:
|
config:
|
||||||
- name: nats-topic
|
- name: nats-topic
|
||||||
@ -69,7 +69,7 @@ spec:
|
|||||||
# so that so the provider can deliver messages to the component (by invoking the wasmcloud:messaging/handler interface) .
|
# so that so the provider can deliver messages to the component (by invoking the wasmcloud:messaging/handler interface) .
|
||||||
- type: link
|
- type: link
|
||||||
properties:
|
properties:
|
||||||
target: go-data-stream
|
target: go_stream_processor
|
||||||
namespace: wasmcloud
|
namespace: wasmcloud
|
||||||
package: messaging
|
package: messaging
|
||||||
interfaces: [handler]
|
interfaces: [handler]
|
||||||
|
Loading…
Reference in New Issue
Block a user