Giter Site home page Giter Site logo

Comments (11)

zhaojizhuang avatar zhaojizhuang commented on August 16, 2024

Hi, @wyyxd2017 can you show more log about natss-ch-dispatcher, Or steps to produce the problem

from eventing-natss.

wyyxd2017 avatar wyyxd2017 commented on August 16, 2024

Hi, @wyyxd2017 can you show more log about natss-ch-dispatcher, Or steps to produce the problem

When I deployed eventing-natss for the first time, the message can be sent to the url specified by subspcription through the connection of natss. If I restart natss-streaming, I can only receive messages from the broker, but not send messages. I judged that natss-stream has established a new connection, but it is still sent through the old natss-streaming connection

from eventing-natss.

zhaojizhuang avatar zhaojizhuang commented on August 16, 2024

can you show the result of kubectl get broker,trigger,subscription,natschannel and the log of nats-ch-dispatcher pod ?

from eventing-natss.

wyyxd2017 avatar wyyxd2017 commented on August 16, 2024

can you show the result of kubectl get broker,trigger,subscription,natschannel and the log of nats-ch-dispatcher pod ?

image
image

from eventing-natss.

wyyxd2017 avatar wyyxd2017 commented on August 16, 2024

can you show the result of kubectl get broker,trigger,subscription,natschannel and the log of nats-ch-dispatcher pod ?

image
image
The second picture is the log after restart

from eventing-natss.

zhaojizhuang avatar zhaojizhuang commented on August 16, 2024

dispatcher has received and published events to the nats-streaming, as seen in the log。

cannot send messages to eventing.

And how do you find you can't send messages to eventing? And what's the eventing-natss version?

from eventing-natss.

wyyxd2017 avatar wyyxd2017 commented on August 16, 2024

dispatcher has received and published events to the nats-streaming, as seen in the log。

cannot send messages to eventing.

And how do you find you can't send messages to eventing? And what's the eventing-natss version?
image
image
image

These three log pictures are the date of natss-ch-dispatcher.
, The first one is a normal log, with receiving messages and sending messages;
The second picture is the log of the error report after restarting natss-streaming;
The third picture is the log after restart. You can see that there are received logs but no sent logs

from eventing-natss.

zhaojizhuang avatar zhaojizhuang commented on August 16, 2024

The third picture is the log after restart. You can see that there are received logs but no sent logs

can you show the full yaml of natsschannel and subscripton?, no sent logs means there is no subscriber when dispatch https://github.com/knative-sandbox/eventing-natss/blob/8b49c6b39b23d8526137c200322edb509015a8ca/pkg/dispatcher/dispatcher.go#L292

from eventing-natss.

wyyxd2017 avatar wyyxd2017 commented on August 16, 2024

The third picture is the log after restart. You can see that there are received logs but no sent logs

can you show the full yaml of natsschannel and subscripton?, no sent logs means there is no subscriber when dispatch

https://github.com/knative-sandbox/eventing-natss/blob/8b49c6b39b23d8526137c200322edb509015a8ca/pkg/dispatcher/dispatcher.go#L292

from eventing-natss.

zhaojizhuang avatar zhaojizhuang commented on August 16, 2024

@wyyxd2017 still have the problem?

from eventing-natss.

wyyxd2017 avatar wyyxd2017 commented on August 16, 2024

@zhaojizhuang Yes. Because ReconcileKind will only execute once for the NatssChannel resource, during this execution it will subscribe and generate a subscription. If natss-streaming reconnects, the previous subscribe is no longer valid.

from eventing-natss.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.