[Feature Request]: Optional Adanos sentiment snapshot sample

オープン
#9,532 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
java, json, markdown

調査の方向性

Read the plugin-samples guide and inspect plugins/transforms/json/src/main/samples/transforms/json-input-adanos-snapshot.hpl and transforms/files/ to confirm the proposed placement. Start with the offline synthetic Singer JSON Lines fixture and verify the pipeline selects RECORD messages from asset_sentiment and extracts the requested fields. Done means the sample, input fixture, and explanatory notes are agreed on and the proposed formatting, documentation, license, and pipeline checks pass.

索引モデルが issue の本文から書いたものです。

説明

P3 Samples
What would you like to happen?

Would an optional sample showing how to ingest Adanos sentiment snapshots be welcome in the Samples project? I work on Adanos and am asking for agreement on scope and placement before implementation, following the code contribution guide.

The smallest proposed contribution reuses the existing tap-adanos rather than adding a Java connector or an API client to Hop:

  • A pipeline reads saved Singer JSON Lines with Text file input, parses each message with JSON Input, filters for RECORD messages from asset_sentiment, then extracts selected record fields. SCHEMA/STATE messages are not data rows.
  • A small synthetic fixture runs offline without a key. Proposed placement is plugins/transforms/json/src/main/samples/transforms/json-input-adanos-snapshot.hpl, with input under transforms/files/, following the plugin-samples guide. An AsciiDoc note and a canvas note explain extraction and running the sample.
  • Optional extraction instructions use the customer's own key via TAP_ADANOS_API_KEY, never a committed key or command-line secret, and explicitly set base_url to https://api.adanos.com. Access to this commercial service is optional; source access, history/lookback and request quotas depend on the customer's plan.
  • Tap start_date/end_date map to inclusive UTC API from/to, not deprecated days. Stock source choices are reddit, x, news, and polymarket; crypto currently uses Reddit. The tap has four snapshot streams (asset_sentiment, trending_assets, asset_comparison, market_sentiment), not every API endpoint. This sample would consume only the first.
  • Preserve source, asset and requested-window fields. These are extraction-time snapshots, not historical known-at observations; the tap has no observed_at. No trading logic or price-provider changes.

After agreement, validation would run the actual Hop pipeline against mixed Singer messages, checking row counts, values, null handling and malformed-input failure, plus the applicable formatting, documentation and license checks. There would be no live-key requirement in automated tests.

Is this scope and placement appropriate, and is a committer willing to review it? No implementation PR has been opened.

Issue Priority

Priority: 3

Issue Component

Component: Samples

主要言語
Java
スター
1.6k
フォーク
499
平均マージ
1日 5時間
マージ済み PR(30日)
316

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

apache/hop のほかの issue

apache/hop の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。