検索

質問
· 2025年8月31日

How can I integrate Google Cloud Pub/Sub with InterSystems IRIS (HealthShare)?

I’ve been exploring options for connecting Google Cloud Pub/Sub with InterSystems IRIS/HealthShare, but I noticed that IRIS doesn’t seem to ship with any native inbound/outbound adapters for Pub/Sub. Out of the box, IRIS offers adapters for technologies like Kafka, HTTP, FTP, and JDBC, which are great for many use cases, but Pub/Sub appears to be missing from the list.

Has anyone here implemented such an integration successfully?

For example:

  • Would it make sense to leverage IRIS’s Business Service + REST API adapter to connect to Google’s Pub/Sub REST endpoints?
  • Or perhaps use an intermediate bridge (e.g., Pub/Sub → Kafka → IRIS) since Kafka adapters are well-supported?
  • Another idea might be using InterSystems ObjectScript with gRPC or Python integration to subscribe and publish directly to Pub/Sub topics.

I’d love to hear best practices or proven approaches. If you’ve built a similar integration—whether for Pub/Sub, AWS SNS/SQS, or Azure Event Hubs—your insights would be very helpful.

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
お知らせ
· 2025年8月29日

[Demo Video] Copilot for InterSystems Embedded BI

#InterSystems Demo Games entry


⏯️ Copilot for InterSystems Embedded BI

The Co-Pilot enables you to leverage InterSystems BI without deep knowledge in InterSystems BI. You can create new cube, modify existing cubes or leverage existing cubes to plot charts and pivots just by speaking to the copilot.

Presenters:
🗣 @Michael Braam, Sales Engineer Manager, InterSystems
🗣 @Andreas Schuetz, Sales Engineer, InterSystems
🗣 @Shubham Sumalya, Sales Engineer, InterSystems

👉 Like this demo? Support the team by voting for it in the Demo Games!

2 Comments
ディスカッション (2)2
続けるにはログインするか新規登録を行ってください
記事
· 2025年8月29日 1m read

Evitar que dados específicos de uma tabela sejam revertidos (rollback)

InterSystems FAQ rubric

Existem dados, como registros de log de execução, que você pode não querer que voltem ao estado anterior mesmo se ocorrer um rollback durante uma transação.
Esse requisito pode ser atendido colocando esses dados no banco de dados IRISTEMP, que não sofre rollback.

Temporary Globals and the IRISTEMP Database

Ao mapear para esse banco as entidades de tabela que você não deseja que sofram rollback, é possível manter as informações após a reversão.

No entanto, o conteúdo desse banco será apagado quando o IRIS for reiniciado. Portanto, se você quiser preservar esses dados permanentemente, precisará copiá-los para uma tabela permanente em algum momento (após o rollback, por exemplo).

Outra opção é tornar a operação da tabela não transacional, interrompendo o journaling do processo antes da operação e reiniciando o journaling após a conclusão.

Entretanto, esse método não pode ser usado em ambientes com mirroring.

Managing journaling at the process level with %NOJRN

Developer Community Article

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
記事
· 2025年8月29日 1m read

Converter uma lista Python %SYS.Python em %Library.DynamicArray no ObjectScript

Como parte de um projeto técnico recente de documentação para otimizar a busca, precisei usar Embedded Python no meu código ObjectScript.
O principal obstáculo foi passar uma lista do Python, criada em um método de classe Python, para um método ObjectScript.

Enviar a lista por referência para o método Python, preenchê-la com o método Insert(), e retornar a referência para o método ObjectScript resultava em uma lista do tipo %SYS.Python. Esse processo era simples, mas pouco eficiente.

Explorei então um método alternativo: converter uma lista Python em uma lista ObjectScript usando JSON como formato intermediário.
Essa abordagem parece exigir menos código e oferecer melhor desempenho em tempo de execução.

 

 

No código Python:

list = ["a", "b", "c", "d"]

jsonExport = json.dumps(list)

 

 

No código ObjectScript:

jsonExport = ##class(Example.Case).GetPythonList()

set list = ##class(%DynamicAbstractObject).%FromJSON(jsonExport)

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
記事
· 2025年8月29日 1m read

Como controlar a ordem das colunas exibidas ao acessar por uma ferramenta ODBC

InterSystems FAQ rubric

Por padrão, a ordem das colunas em uma tabela é determinada automaticamente pelo sistema.
Para alterar a ordem, defina explicitamente a ordem de cada propriedade utilizando a palavra-chave SqlColumnNumber ao definir a classe.

Exemplo:

Property Name As %String [SqlColumnNumber = 2];

Consulte a documentação abaixo.

SqlColumnNumber

Se você deseja alterar o nome da tabela SQL, especifiqueSqlTableName. Se você deseja alterar o nome da coluna (nome do campo), especifiqueSqlFieldName.

Ambos se aplicam apenas a classes persistentes.

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください