Skip to content

Instantly share code, notes, and snippets.

@LetticiaNicoli
Last active August 15, 2019 01:22
Show Gist options
  • Save LetticiaNicoli/44f94de6aeed027f3d9e5a599542f9d3 to your computer and use it in GitHub Desktop.
Save LetticiaNicoli/44f94de6aeed027f3d9e5a599542f9d3 to your computer and use it in GitHub Desktop.
Plataformas Cognitivas - Aula 02

Arquitetura de Microservices

  • Kafka: PubSub (Streaming Platform)
  • RabbitMQ: PubSub e Enterprise Service Bus
  • Service Bus (Azure)

KAFKA

  • Mensagem
  • Schemas
  • Stream (tópicos)
  • Consumer
  • Partições
  • Producer

Containers

  • Docker
FROM python:3 (qual imagem irá buscar no dockerhub)  
ADD hello.py hello.py  
RUN pip install pystrich  
CMD [ "python", "./hello.py" ]

docker build -t firststeps .

docker images

Trabalho (subir no portal)

  • Dockerfile
  • Apenas o conteúdo do arquivo
  • Alterar hello pelo nome
  • Colocar dentro do word
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment