If you are not redirected automatically, follow the link to latest snapshot documentation
If you are not redirected automatically, follow the link to latest snapshot documentation
はじめに 前回Spring Cloud Streamでkafkaに接続するサンプルを試したが、今回はkafkaでメッセージを受け取って、受け取ったメッセージを複数のoutputに振り分けるmulti outputを試してみる。 環境 前回と同じ 手順 前回作った1秒おきに時間をメッセージで送るサンプルを元に、時間の秒が偶数か奇数かを判断して、メッセージを偶数用のtopicと奇数用のtopicに振り分ける処理を作成する。 kafka接続用プロジェクトを作成する 前回 ※以下のサンプルも上記のプロジェクトを流用します。 kafkaのメッセージ受け取り用の設定を行う application.ymlに出力先のtopicを追加 偶数用のメッセージと奇数用のメッセージを書き込むtopicを指定 spring: cloud: stream: bindings: output: spring.cloud.
🗃 {Programming/Java/org/springframework/boot/cloud/config} 🏷 Java 🏷 Spring 🏷 Spring Cloud 🏷 Spring Cloud Config 🗓 Updated at 2014-10-25T18:55:23Z 🗓 Created at 2014-10-25T18:55:23Z 🌎 English Page Spring Cloud Configとは Spring Cloud Configは分散システムにおけるコンフィギュレーションの仕組みを提供するプロジェクト。SpringOne 2gx 2014に参加して、一番面白いと思ったネタである。 Spring Cloud ConfigはClientとServerで構成される。 SeverはGitやファイル等の外部コンフィギュレーションを管理し、
Building Distributed Systems with Netflix OSS and Spring Cloud As presented at: http://www.meetup.com/Pivotal-Open-Source-Hub/events/219264521/ With the advent of microservice and cloud-native application architectures, building distributed systems is becoming increasingly common for the enterprise Java developer. Fortunately many of the innovators in the space, including Twitter, LinkedIn, and Ne
Build self-healing distributed systems with Spring Cloud Meet the challenges of microservices and distributed computing with Netflix-forged components and familiar tools Microservices have become the hottest topic in software architecture over the past year, and much can be said about their benefits. However, it’s important to understand that as soon as we start decomposing the monolith, we enter
Originally published by Josh Long, on the Spring blogThe microservice style of architecture is not so much about building individual services so much as it is making the interactions between services reliable and failure-tolerant. While the focus on these interactions is new, the need for that focus is not. We’ve long known that services don’t operate in a vacuum. Even before cloud economics, we k
Spring Cloud provides tools for developers to quickly build some of the common patterns in distributed systems (e.g. configuration management, service discovery, circuit breakers, intelligent routing, micro-proxy, control bus, one-time tokens, global locks, leadership election, distributed sessions, cluster state). Coordination of distributed systems leads to boiler plate patterns, and using Sprin
前回は Pivotal社に所属するSpring コントリビュータの Josh Long 氏によるプライベートセッション「Bootiful Application」のうち、マイクロサービスと Spring Boot の内容を紹介しました。 今回は、後半部分である Spring Cloud についてのレポートです。 なお、セッションではLong氏が次々とソースコードを矢継ぎ早に書き換えていったため、 この記事に掲載するサンプルコードは、筆者が内容に即したものをあらためて作成したものになります。 Spring Cloud マイクロサービスでシステムを構築すると、複数のSpring Boot アプリケーションが連携する分散構成となります。 Spring Cloud は分散構成のアプリケーションを制御するためのプロダクト群です。 複数のアプリケーションの設定管理、サービス管理、負荷分散、耐障害性、セ
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く