You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by shweta ma <ma...@gmail.com> on 2015/08/13 11:50:26 UTC
Blueprint for Kafka cluster
Dear Brooklyn Team,
I found the source code for Kafka cluster in the below link:
https://github.com/apache/incubator-brooklyn/tree/master/software/messaging/src/main/java/brooklyn/entity/messaging/kafka
But the blueprint to deploy the cluster is missing.
Please can you send the blueprint for deploying kafka cluster.
Thanks,
Shweta
Re: Blueprint for Kafka cluster
Posted by Mike Zaccardo <mi...@cloudsoftcorp.com>.
Hi Shweta,
Forgive me if I misunderstood your question, but are you looking for a YAML
blueprint? Your link above represents Brooklyn's Java blueprint (its
built-in support) for Kafka, so a YAML blueprint wouldn't be found there.
Using the built-in entity, you can write a blueprint like this to deploy a
Kafka cluster, in its most simple form:
name: kafka-cluster
location: localhost
services:
- type: brooklyn.entity.messaging.kafka.KafkaCluster
Of course you can set any other location of your choosing, and configure
further using any of the supported config keys[1].
I hope this helps, but don't hesitate to ask further if not.
Cheers,
Mike
[1]
https://brooklyn.incubator.apache.org/learnmore/catalog/catalog-item.html#!entities/brooklyn.entity.messaging.kafka.KafkaCluster
On Thu, Aug 13, 2015 at 5:50 AM, shweta ma <ma...@gmail.com> wrote:
> Dear Brooklyn Team,
>
> I found the source code for Kafka cluster in the below link:
>
> https://github.com/apache/incubator-brooklyn/tree/master/software/messaging/src/main/java/brooklyn/entity/messaging/kafka
>
> But the blueprint to deploy the cluster is missing.
> Please can you send the blueprint for deploying kafka cluster.
>
> Thanks,
> Shweta
>
--
Cloudsoft Corporation Limited, Registered in Scotland No: SC349230.
Registered Office: 13 Dryden Place, Edinburgh, EH9 1RP
This e-mail message is confidential and for use by the addressee only. If
the message is received by anyone other than the addressee, please return
the message to the sender by replying to it and then delete the message
from your computer. Internet e-mails are not necessarily secure. Cloudsoft
Corporation Limited does not accept responsibility for changes made to this
message after it was sent.
Whilst all reasonable care has been taken to avoid the transmission of
viruses, it is the responsibility of the recipient to ensure that the
onward transmission, opening or use of this message and any attachments
will not adversely affect its systems or data. No responsibility is
accepted by Cloudsoft Corporation Limited in this regard and the recipient
should carry out such virus and other checks as it considers appropriate.