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
|
||||
// dest_topic := config.GetAll()
|
||||
dest_topic := msg.Subject + ".reply"
|
||||
dest_topic := "finish"
|
||||
|
||||
// TASK
|
||||
|
||||
|
@ -12,12 +12,12 @@ metadata:
|
||||
stream-processing,nats-client,tinygo,golang
|
||||
spec:
|
||||
components:
|
||||
- name: go-data-stream
|
||||
- name: go_stream_processor
|
||||
type: component
|
||||
properties:
|
||||
# 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: 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
|
||||
config:
|
||||
- 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) .
|
||||
- type: link
|
||||
properties:
|
||||
target: go-data-stream
|
||||
target: go_stream_processor
|
||||
namespace: wasmcloud
|
||||
package: messaging
|
||||
interfaces: [handler]
|
||||
|
Loading…
Reference in New Issue
Block a user