Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Khánh Trần
    @rualatngua
    @MiYogurt https://github.com/rualatngua/seneca-mesh-kubernetes here is my sample code for seneca-mesh
    we're using seneca-mesh on some production now
    not a busy system but it works
    @rjrodger about meta$ info, I found that in transport-util Wrek.post don't send meta$/custom object
    the meta.test.js is pass but failed for HTTP transport
    I think missing meta$ things like Open Tracing can not work
    seneca-transport-missing-meta.png
    Khánh Trần
    @rualatngua
    Justin
    @fluidnotions
    Is there any transport plugin where you can just supply a list of urls (am using NSD to keep the list current) and then whenever you act the msg just gets sent to the list with a Promise.all if it's an observe$ or a Promise.first if it's consume...I seem to remember seeing something similar in the code at the beginner or the year
    Khánh Trần
    @rualatngua
    @fluidnotions might be seneca-mesh (this plugin go with seneca-balance-client plugin)
    Jet Rico
    @dragonjet
    hi there, i recently submitted an issue on github, and for us his is a critical thing as we are using something in production that broke in a recent publish senecajs/seneca#733
    can someone help us? thanks
    Khánh Trần
    @rualatngua
    @dragonjet here is my quick fix rualatngua/seneca@7576b74
    but I can't create PR because Travis build failed
    :(
    @dragonjet this bug has been fixed 2 days ago
    matiger
    @matiger
    hey guys, I am having an issue with my microservice. The following error-message is showing up: {"kind":"fatal","level":"fatal","plugin":"seneca","tag":"3.8.0","id":"73pd8bskulzk/1547564510819/1/3.8.0/-","code":"bad_plugin_tag","notice":"seneca: The plugin tag string, if defined, must be alphanumeric (matching /^[a-zA-Z0-9_]+$/), and cannot be longer than 1024 characters. Name was '[name?]', and tag was '2.2.0‘.“. I dont know what „plugin tag string“ it is talking about. I am using seneca@3.7.0 and the seneca-amqp-transport@2.1.0 plugin
    matiger
    @matiger
    is this the same issue as above?
    matiger
    @matiger
    Looks like it is because the PLUGIN_TAG for the amp-transport is 2.0.0 and you guys changed it so no .s are allowed anymore.
    2.2.0*
    matiger
    @matiger
    There might be a fix for that: senecajs/seneca-amqp-transport#130
    shonabell
    @shonabell
    Hi
    can someone guide me? I'm trying to setup like an API gateway. How can I define the routes in the plugin and have the api gateway redirect to the micro services?
    Should the api gateway not use sencia web and just proxy to the micro services?
    neo6053
    @neo6053
    hi, is there any documentation for legacy function such as loghandler?
    Khánh Trần
    @rualatngua
    Should the api gateway not use sencia web and just proxy to the micro services?
    You can use Hapi with a good plugin for seneca.
    I mostly use ExpressJS or Fastify as API gateway, I add a seneca-client to forward requests to downstream services.
    ghter123
    @ghter123
    I am a newbie and I am very upset now. Please pay attention to my Issue post at senecajs/seneca-store-test#47.
    Thank you.
    Tommi Vainikainen
    @tvainika
    What tracing systems have you used with senecajs to have traces for interaction between microservices?
    pusaphil
    @pusaphil
    I am new in NodeJS and i am using seneca version 3.4.3 with seneca-amqp-transport and rabbitMQ as a broker (not sure if terminology is correct).
    I noticed that if you have a seneca listener script (RPC) connect to rabbitMQ, and somehow kill the rabbitMQ, the listener dies as well. My question is how do you track the "dying" part of the listener script? I noticed it emits a 'kill' signal that can be capture via process.on('kill', () => {}), but i want to capture it on the seneca level - something like seneca.on('disconnect', () => {}) kinda thing.
    Mike Lindenau
    @MikeLindenau
    This is super raw but would love any feedback. https://github.com/nscale/usrv
    Julien Perrenoud
    @jfperren

    Hey everyone!

    I am a new Seneca user trying to use Seneca as part of my fairly simple Express/MongoDB setup. More specifically, I am trying to make my models use seneca-entity backed by seneca-mongo-store. This works great, but I cannot find a good way to implement some kind of schema validation.

    In a previous project, I used Mongoose to create schemas which would automatically validate the data upon creation/update. I would like a similar thing here but I could not find good documentation about mongoose/seneca integration online and it feels like Mongoose would be fairly redundant here, or at least a bit clunky to integrate. I feel like there's got to be a better way.

    Am I doing this wrong? How are you guys validating your mongodb data with seneca entities?

    Thank you all in the community for building this project!

    Paker30
    @Paker30
    Hi @jfperren I'm not an expert either but at my company we work with Seneca and if you want to add some schema validation, take a look at https://github.com/senecajs/seneca-joi it would give you validation schemas against your pines, you can always check what you send in the pin with the schema
    Hi guys, I would like to make some kind of health check service validation through http, this is due to at my company devops need some kind of endpoint to check if the service is available, I've been looking through zipking but I haven't found any way to check the current services through its API (it seems the /service endpoints only returns all the services which are or have been in zipking) The idea I have in my mind is to add a health check ping by service and call it through an API connected to Seneca, I would like to know your opinions or some tools or modules which could help us.
    Thanks a lot and any idea idea would be appreciate
    Julien Perrenoud
    @jfperren
    @Paker30 Awesome, this is exactly what I was looking for. Thanks a lot!
    Juan Antelo-Justiniano
    @JuanAntelo
    Hello. Is it possible to persist memory between endpoint calls?
    For me, this seems like the only limitation of a serverless framework but i wonder if there is a workaround / solution
    Josh Reeter
    @jreeter
    @JuanAntelo you could use something like Redis to persist state to "between endpoint calls"
    Shyam Pratap Singh
    @spsingh559
    Hi Team, I am using seneca-mesh for auto service discovery. Could you please let me know how to make this microservices distributed in the sense that, one serviceA is running in VM1(virtual machine) and another serviceB is running in VM2 and i am calling microservice from VM3, using seneca.act(Pattern) for serviceA
    currently i have done this setup in single VM and services are getting discoverable, but i want to make it distributed. It would be a great help
    rrrodzilla
    @rrrodzilla
    If I have one service exposing a web api using seneca-web, how can that service discover the other services if it's not part of the mesh network the remaining services are on? Does the web api service also participate in the mesh?
    rrrodzilla
    @rrrodzilla
    cool thx
    Benson Lin
    @icebro_gitlab

    hi , i am just try to custom my logger and check this tutorials/logging-with-seneca
    http://senecajs.org/docs/tutorials/logging-with-seneca.html

    but got this error

    D:\code\seneca-log-test\sales-tax-log-handler.js:8
    {level: 'all', handler: seneca.loghandler.file('shop.log')}
    ^

    TypeError: Cannot read property 'file' of undefined
    at Object.<anonymous> (D:\code\seneca-log-test\sales-tax-log-handler.js:8:49)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)
    at Function.Module.runMain (module.js:694:10)
    at startup (bootstrap_node.js:204:16)

    at bootstrap_node.js:625:3

    ================================
    any sugguestion?

    José da Mata
    @josemf
    hi guys, I've a general question about concurrent service operation calls
    does Seneca handles concurrent requests from clients
    I'm defining a few modules that will listen requests from clients, and one of those generates PDF using a puppeteer integration
    I'm not sure how much load this operation will have to handle in the future, but I'm worried if seneca will be able to this with a TCP transport (no queuing) on a "default" settings basis
    José da Mata
    @josemf
    Do you guys know how to measure this on seneca? I'm also wondering about what would be the best practice for approaching scalability issues
    Thank you guys!
    Paker30
    @Paker30
    hi guys Does any have issues register pins with the latest version of seneca-mesh? I've upgrade and I can't register pines, I try to register new pines with chairo