[Feature Request]: Optional Adanos sentiment snapshot sample

Abierto
#9,532 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
java, json, markdown

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Java
Estrellas
1.6k
Forks
499
Merge medio
1 d 5 h
PR fusionados (30 d)
316

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de apache/hop

Todos los issues de apache/hop

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.