Skip to content

[Question] Setting up a localhost Message Hub package in a localhost environment #300

@patpatpat123

Description

@patpatpat123

Hello,

May I ask what is the equivalent of this
wsk package bind /whisk.system/messaging myMessageHub -p kafka_brokers_sasl "["kafka01-prod01.messagehub.services.us-south.bluemix.net:9093", "kafka02-prod01.messagehub.services.us-south.bluemix.net:9093", "kafka03-prod01.messagehub.services.us-south.bluemix.net:9093"]" -p user -p password -p kafka_admin_url https://kafka-admin-prod01.messagehub.services.us-south.bluemix.net:443

stated under Setting up a Message Hub package outside Bluemix

for a localhost based Kafka and OpenWhisk?

  1. Where can I locate /whisk.system/messaging in a local host environment?
  2. For the first -p, what would be the equivalent of a plain simple localhost Kafka? -p kafka_brokers_sasl "["localhost:9092"]" ? 9093?
    For the second -p, (user) if it is a simple localhost Kafka, can this be omitted?
  3. Same question for the third -p (password)?
  4. For the fourth -p, I am not using Bluemix, just starting a local OpenWhisk, what would be the equivalent here for the Kafka admin? https://localhost:443 ?

(By plain simple Kafka, I mean the Kafka package found in the official site, started with ./zookeeper-server-start.sh ../config/zookeeper.properties
./kafka-server-start.sh ../config/server.properties)

Thank you a lot for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions