{"id":72194,"date":"2019-08-07T08:48:05","date_gmt":"2019-08-06T23:48:05","guid":{"rendered":"https:\/\/www.softantenna.com\/wp\/?p=72194"},"modified":"2019-08-07T08:48:08","modified_gmt":"2019-08-06T23:48:08","slug":"sampler","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/sampler\/","title":{"rendered":"Sampler - YAML\u3067\u7c21\u5358\u306b\u8a2d\u5b9a\u3067\u304d\u308b\u30bf\u30fc\u30df\u30ca\u30eb\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u30c4\u30fc\u30eb"},"content":{"rendered":"<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2019\/08\/s_20190806_113747.jpg\" alt=\"S 20190806 113747\" title=\"s_20190806_113747.jpg\" border=\"0\" width=\"860\" height=\"560\" \/><\/p>\n<p>\u958b\u767a\u8005\u3084\u30d8\u30d3\u30fc\u30e6\u30fc\u30b6\u30fc\u306b\u306f\u3001\u3055\u307e\u3056\u307e\u306a\u60c5\u5831\u3092\u4e00\u89a7\u3057\u3066\u95a2\u3057\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u300c\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u300d\u3068\u547c\u3070\u308c\u308b\u30bf\u30a4\u30d7\u306e\u30c4\u30fc\u30eb\u304c\u4eba\u6c17\u3067\u3059\u3002<\/p>\n<p>\u672c\u65e5\u7d39\u4ecb\u3059\u308b\u300c<a href=\"https:\/\/github.com\/sqshq\/sampler\">Sampler<\/a>\u300d\u3082\u305d\u306e\u3088\u3046\u306a\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u30c4\u30fc\u30eb\u306e\u4e00\u3064\u3067\u3059\u3002<\/p>\n<p>Go\u8a00\u8a9e\u3067\u4f5c\u6210\u3055\u308c\u305f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3067\u3001YAML\u5f62\u5f0f\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u5229\u7528\u3057\u3066\u3001\u6bd4\u8f03\u7684\u7c21\u5358\u306b\u81ea\u5206\u597d\u307f\u306e\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3092\u4f5c\u6210\u3067\u304d\u308b\u3068\u3044\u3046\u7279\u5fb4\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30e9\u30f3\u30c1\u30e3\u30fc\u30c8\u3084\u30b9\u30d1\u30fc\u30af\u30e9\u30a4\u30f3\u3001\u30d0\u30fc\u30c1\u30e3\u30fc\u30c8\u3001\u30b2\u30fc\u30b8\u3001\u30c6\u30ad\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u3001\u30a2\u30b9\u30ad\u30fc\u30dc\u30c3\u30af\u30b9\u3068\u3044\u3063\u305f\u30d1\u30fc\u30c4\u304c\u5229\u7528\u53ef\u80fd\u3067\u3001\u6761\u4ef6\u306b\u3088\u3063\u3066\u30b5\u30a6\u30f3\u30c9\u3092\u518d\u751f\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u4f7f\u7528\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>Sampler\u306e\u4f7f\u7528\u65b9\u6cd5<\/h2>\n<p>Sampler\u306fGo\u88fd\u306e\u30c4\u30fc\u30eb\u3067\u30de\u30eb\u30c1\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u5bfe\u5fdc\u3067\u3059\u3002macOS\u306e\u5834\u5408\u4ee5\u4e0b\u306e\u624b\u9806\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>brew cask\u306e\u5834\u5408:<\/p>\n<pre>\nbrew cask install sampler\n<\/pre>\n<p>\u305d\u308c\u4ee5\u5916\u306e\u5834\u5408(\u901a\u5e38sudo\u304c\u5fc5\u8981\u3067\u3059):<\/p>\n<pre>\ncurl -Lo \/usr\/local\/bin\/sampler https:\/\/github.com\/sqshq\/sampler\/releases\/download\/v1.0.1\/sampler-1.0.1-darwin-amd64\nchmod +x \/usr\/local\/bin\/sampler\n<\/pre>\n<p>\u3053\u308c\u4ee5\u5916\u306b\u3082Linux\u3084Windows\u3067\u3082\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Sampler\u3092\u5b9f\u884c\u3059\u308b\u306b\u306f\u300c-c\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3057\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\nsampler -c config.yml\n<\/pre>\n<p>\u6700\u521d\u3001\u7a7a\u306e\u72b6\u614b\u304b\u3089\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u306e\u306f\u5927\u5909\u306a\u306e\u3067\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u542b\u307e\u308c\u308bexample.yml\u3092\u4f7f\u7528\u3059\u308b\u306e\u304c\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<pre>\nsampler -c example.yml\n<\/pre>\n<p>\u5b9f\u884c\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u30b5\u30f3\u30d7\u30eb\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\u30c0\u30fc\u30af\u30c6\u30fc\u30de\u3092\u63a1\u7528\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u30c0\u30fc\u30af\u30c6\u30fc\u30de\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u8868\u793a\u3059\u308b\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2019\/08\/s_20190806_115959.jpg\" alt=\"S 20190806 115959\" title=\"s_20190806_115959.jpg\" border=\"0\" width=\"860\" height=\"560\" \/><\/p>\n<p>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u78ba\u8a8d\u3059\u308b\u3068YAML\u5f62\u5f0f\u3067\u6bd4\u8f03\u7684\u5206\u304b\u308a\u3084\u3059\u3044\u66f8\u5f0f\u3067\u3042\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2019\/08\/s_20190806_114119.jpg\" alt=\"S 20190806 114119\" title=\"s_20190806_114119.jpg\" border=\"0\" width=\"860\" height=\"560\" \/><\/p>\n<p>\u4f8b\u3048\u3070\u30e9\u30f3\u30c1\u30e3\u30fc\u3068\u30d0\u30fc\u30c1\u30e3\u30fc\u30c8\u3092\u6b8b\u3057\u3001\u5e45\u3092\u5e83\u3052\u3066\u307f\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2019\/08\/s_20190806_114124.jpg\" alt=\"S 20190806 114124\" title=\"s_20190806_114124.jpg\" border=\"0\" width=\"860\" height=\"560\" \/><\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u30d5\u30a1\u30a4\u30eb\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3064\u3064\u81ea\u5206\u597d\u307f\u306e\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3092\u4f5c\u308a\u4e0a\u3052\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u516c\u5f0f\u30b5\u30a4\u30c8\u306b\u306f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3084\u3001Kafka\u3001Docker\u3001SSH\u306a\u3069\u306e\u30b5\u30f3\u30d7\u30eb\u3082\u63b2\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u5b9f\u7528\u7684\u306a\u4f7f\u7528\u6cd5\u3092\u63a2\u3057\u3066\u3044\u308b\u65b9\u306f\u53c2\u7167\u3057\u3066\u307f\u308b\u3068\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>Sampler\u306f\u3055\u307e\u3056\u307e\u306a\u60c5\u5831\u3092\u4e00\u89a7\u3067\u304d\u308b\u30bf\u30fc\u30df\u30ca\u30eb\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u30c4\u30fc\u30eb\u3067\u3059\u3002\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u611b\u7528\u3059\u308b\u958b\u767a\u8005\u306e\u65b9\u306f\u8a66\u3057\u3066\u307f\u3066\u306f\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u958b\u767a\u8005\u3084\u30d8\u30d3\u30fc\u30e6\u30fc\u30b6\u30fc\u306b\u306f\u3001\u3055\u307e\u3056\u307e\u306a\u60c5\u5831\u3092\u4e00\u89a7\u3057\u3066\u95a2\u3057\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u300c\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u300d\u3068\u547c\u3070\u308c\u308b\u30bf\u30a4\u30d7\u306e\u30c4\u30fc\u30eb\u304c\u4eba\u6c17\u3067\u3059\u3002 \u672c\u65e5\u7d39\u4ecb\u3059\u308b\u300cSampler\u300d\u3082\u305d\u306e\u3088\u3046\u306a\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u30c4\u30fc\u30eb\u306e\u4e00\u3064\u3067\u3059\u3002 Go\u8a00\u8a9e\u3067\u4f5c\u6210\u3055 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":72200,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[3459],"tags":[1607,1211],"class_list":["post-72194","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-review","tag-dashboard","tag-terminal"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/72194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=72194"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/72194\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/72200"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=72194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=72194"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=72194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}